-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
解析少部分浮点数字符串有精度问题(版本:0.0.19) #2
Comments
感谢反馈,会尽快修复 |
bug已修复 ,Number,Boolean后续会考虑添加。 |
我刚试了一下, 那个数是正常了, 但发现还有很多浮点值出现了误差, 而且出现概率更大了.
|
好的3q |
这次应该没问题了,版本会尽快发。 |
解析少部分浮点数字符串有精度问题, 跟JDK自带的解析不一致:
另外, JSON.parse最好可以解析number,boolean字符串, 返回Number,Boolean类型.
The text was updated successfully, but these errors were encountered: