Try to convert string to float.
You can find more information in comments below.
/**
Try convert string to float
@param str Wide character string
@param[out] out Reference to float where to store result of conversion
@return True if conversion succeeded, otherwise - false
*/
bool TryStringToFloat(const String &str, float &out);
/**
Try convert ansi string to float
@param str Ansi string
@param[out] out Reference to float where to store result of conversion
@return True if conversion succeeded, otherwise - false
*/
bool TryStringToFloat(const AnsiString &str, float &out);
Namespace: | nitisa |
Include: | Nitisa/Core/Strings.h |