diff --git a/src/Nibbler.cpp b/src/Nibbler.cpp index 498e0c279..3c589174d 100644 --- a/src/Nibbler.cpp +++ b/src/Nibbler.cpp @@ -434,7 +434,7 @@ bool Nibbler::getNumber (double &result) std::string s; if (getNumber (s)) { - result = std::stod (s); + result = strtof (s.c_str (), NULL); return true; }