X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/71d9db6cff1be807f6d010467b58efb95a6a61aa..187df50a062ce05fd30ff7dd1fa9814fea976b02:/stglibs/common.lib/common.cpp diff --git a/stglibs/common.lib/common.cpp b/stglibs/common.lib/common.cpp index 90493e9f..b527ac58 100644 --- a/stglibs/common.lib/common.cpp +++ b/stglibs/common.lib/common.cpp @@ -753,6 +753,11 @@ if (errno == ERANGE) return 0; } +//--------------------------------------------------------------------------- +int str2x(const std::string & str, double & x) +{ +return strtodouble2(str.c_str(), x); +} #ifndef WIN32 //--------------------------------------------------------------------------- int str2x(const std::string & str, int64_t & x)