Consistent function placement.

This will be used for later.
This commit is contained in:
Jason Felds
2011-07-17 13:04:36 -04:00
parent 09dc94cfe8
commit 3c348a8ac3
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -1731,6 +1731,13 @@ bool StringToFloat( const RString &sString, float &fOut )
return sString.size() && *endPtr == '\0' && isfinite( fOut );
}
RString FloatToString( const float &num )
{
stringstream ss;
ss << num;
return ss.str();
}
const wchar_t INVALID_CHAR = 0xFFFD; /* U+FFFD REPLACEMENT CHARACTER */
wstring RStringToWstring( const RString &s )
+1
View File
@@ -416,6 +416,7 @@ int StringToInt( const RString &sString );
* @return the string we are after. */
RString IntToString( const int &iNum );
float StringToFloat( const RString &sString );
RString FloatToString( const float &num );
bool StringToFloat( const RString &sString, float &fOut );
RString WStringToRString( const wstring &sString );