#include "YACSBasesExport.hxx"
Go to the source code of this file.
Functions | |
YACSBASES_EXPORT double | Cstr2d (const char *s) |
replacement for atof witch does not work everywhere More... | |
YACSBASES_EXPORT double Cstr2d | ( | const char * | s | ) |
replacement for atof witch does not work everywhere
When using xml parser (parser.cxx) from YACSGui_XMLDriver (in GUI context), instruction like double d = atof(content); where content = "0.8" gives d = 0 . the same binary code called from outside GUI context works fine...
Definition at line 34 of file Cstr2d.cxx.
Referenced by YACS::ENGINE::convertToYacsDouble< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >::convert(), and YACS::doubletypeParser::post().