diff --git a/include/csvmonkey.hpp b/include/csvmonkey.hpp index 9e13ad4..e7b5766 100644 --- a/include/csvmonkey.hpp +++ b/include/csvmonkey.hpp @@ -340,7 +340,13 @@ struct CsvCell qi::parse(ptr, ptr+size, double_, n); return n; #else - return strtod(ptr, NULL); + double number; + std::from_chars( + ptr, + ptr + size, + number + ); + return number; #endif } };