X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ce4f87b0803d81e413699ffe65d5dbf4eec9d64c..7bed70818a176a8b79431c66235f5580163841a3:/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)