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

Large integers get modified in "ga-args" #1

Open
mbertschler opened this issue Oct 30, 2023 · 0 comments
Open

Large integers get modified in "ga-args" #1

mbertschler opened this issue Oct 30, 2023 · 0 comments

Comments

@mbertschler
Copy link
Owner

If this gets clicked on:

<div class="ga" ga-on="click" ga-action="edit" ga-args="8439759739205665724">

The following action is sent to the server:

guiapi action: edit args: 8439759739205666000 state: null

The last digits of the number were replaced by 000. This is likely due to this number being a large 64 bit integer that can't be represented exactly by a JS number.

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

1 participant