We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The 0 at the end will be ignored, resulting in the float becoming to an int, is this as expected?
JSONbig.parse('{"aa":1.01}') => {aa:1.01}
JSONbig.parse('{"aa":1.01}')
{aa:1.01}
but JSONbig.parse('{"aa":1.00}')=> {aa:1}
JSONbig.parse('{"aa":1.00}')
{aa:1}
The text was updated successfully, but these errors were encountered:
Javascript does not have different types for ints and floats. Internally, it stores it all as IEEE 754 doubles.
Sorry, something went wrong.
No branches or pull requests
The 0 at the end will be ignored, resulting in the float becoming to an int, is this as expected?
JSONbig.parse('{"aa":1.01}')
=>{aa:1.01}
but
JSONbig.parse('{"aa":1.00}')
=>{aa:1}
The text was updated successfully, but these errors were encountered: