Content


NTL
Core
TryStringToDouble

TryStringToDouble


Try to convert string to double.

You can find more information in comments below.

/**
Try convert string to double 
@param str Wide character string 
@param[out] out Reference to double where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToDouble(const String &str, double &out);
/**
Try convert ansi string to double 
@param str Ansi string 
@param[out] out Reference to double where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToDouble(const AnsiString &str, double &out);
Namespace: nitisa
Include: Nitisa/Core/Strings.h