-
Notifications
You must be signed in to change notification settings - Fork 78
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
Locale: calling formatNumber with maximumfraction 15 and rounding returns strange number #5622
Comments
This issue happens starting with 14 fraction digits |
Putting this note on:
Whats the priority here? |
Need one more fix which is not working 31.15
|
Putting this on hold for now as i found it is working.
So it will work if its a string since its a large number we need to do this. Because if you just paste |
Two more test cases
|
Basically it's any locale that use a comma ',' for a decimal separator and a period '.' for a group separator. There are numerous locales that have that (about 20 in all). |
QA Passed. Working as expected on my end. |
Describe the bug
Calling formatNumber with a maxiumFraction/minimumFraction of 15 and round: true is returning an incorrect value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The value in after calling formatNumber should be "123.540000000000000", not "123.540000000000006"
Version
Screenshots
Platform
The text was updated successfully, but these errors were encountered: