Commit 72806ec7 authored by zhaoyunfei's avatar zhaoyunfei

fix bug

parent bca6d13c
Pipeline #336 failed with stages
......@@ -1451,8 +1451,7 @@ namespace ajson
#ifdef _MSC_VER
_gcvt_s(buffer, 63 , val, 8);
#else
sprintf(buffer,"%.8f",val);
// gcvt(val, 62, buffer);
gcvt(val, 62, buffer);
#endif // MSVC
size_t len = std::strlen(buffer);
if (buffer[len - 1] == '.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment