Format floats like doubles when printing - but add ‘f’ suffix (a lá #291)

This commit is contained in:
Phil Nash
2014-07-09 18:16:40 +01:00
parent ce56209250
commit d89e74faff
7 changed files with 77 additions and 68 deletions

View File

@@ -158,6 +158,7 @@ std::string toString( int value );
std::string toString( unsigned long value );
std::string toString( unsigned int value );
std::string toString( const double value );
std::string toString( const float value );
std::string toString( bool value );
std::string toString( char value );
std::string toString( signed char value );