Back to Richel Bilderbeek's homepage.

Back to Richel Bilderbeek's Code Snippets.

 

 

 

WideIsDouble

 

Checks if a WideString can be converted to a double.

* View the code of 'WideIsDouble' in plain text

 

 

//From http://www.richelbilderbeek.nl/CppWideIsDouble.htm

bool WideIsDouble(const WideString& s, double& rDouble)

{

const AnsiString a(s);

return TryStrToFloat(a, rDouble);

}

 

 

Back to Richel Bilderbeek's Code Snippets.

Back to Richel Bilderbeek's homepage.