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
Steps to reproduce run L.Util.formatNum(13.714814633131029, 15)
L.Util.formatNum(13.714814633131029, 15)
Expected behavior Since the number already has 15 decimal points I would expect it to stay the same.
Current behavior It returns 13.714814633131027
Environment
Additional context
Minimal example reproducing the issue
https://next.plnkr.co/edit/p8zxeYBVQiz0v0FH
The text was updated successfully, but these errors were encountered:
Errors from the 15th decimal on are within the expected precision of IEEE 64-bit floating point numbers. Won't fix.
See also #6668 and related.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
run
L.Util.formatNum(13.714814633131029, 15)
Expected behavior
Since the number already has 15 decimal points I would expect it to stay the same.
Current behavior
It returns 13.714814633131027
Environment
Additional context
Minimal example reproducing the issue
https://next.plnkr.co/edit/p8zxeYBVQiz0v0FH
The text was updated successfully, but these errors were encountered: