3 #include "Exception.hxx"
8 //! replacement for atof witch does not work everywhere
10 * When using xml parser (parser.cxx) from YACSGui_XMLDriver (in GUI context),
11 * instruction like double d = atof(content); where content = "0.8"
13 * the same binary code called from outside GUI context works fine...
16 double Cstr2d(const char* s)
18 std::istringstream ss(s);
22 std::stringstream msg;
23 msg << "problem in conversion from string to double: " << s ;
24 throw YACS::Exception::Exception(msg.str());