Skip to content
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

JS precision lost #324

Open
threetown opened this issue Aug 5, 2022 · 1 comment
Open

JS precision lost #324

threetown opened this issue Aug 5, 2022 · 1 comment

Comments

@threetown
Copy link

input:

{"sid":822106502566256641}

output:

{"sid": 822106502566256600}

How to fix this bug?

@c-dante
Copy link

c-dante commented Sep 6, 2022

Not a bug -- js uses ieee doubles for all numbers. Use a string or big number to represent large integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants