#include <tchar.h> #include <stdlib.h> int main( void ) { double f = _tstof( _T("1.5") ); }
double f = atof( "1.5" );
double f = _wtof( L"1.5" );