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

get Value error #25

Open
kvgnt opened this issue Mar 20, 2015 · 2 comments
Open

get Value error #25

kvgnt opened this issue Mar 20, 2015 · 2 comments

Comments

@kvgnt
Copy link

kvgnt commented Mar 20, 2015

?n=20149291035541611 Arg("n") return 20149291035541612
20149291035541614 return 20149291035541616

@djrumbold
Copy link
Contributor

That's because the parameter value is being converted a number via the '+' unary operator, but the largest number you can deal with in JS is 9007199254740993 (That's 2^53 - 1 - Think 64bit but then you lose 10bits because they are dedicated to the floating point part).

@ValentinTrinque
Copy link
Contributor

Where are we with this PR ? Should we still consider it as an issue ?

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

3 participants