-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Numeral field formatter large number output invalid #59415
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
This doesn't seem to happen in 7.0.1. |
@smalenfant thx for testing! 👍 |
I just tested this on a At any rate, this appears to be an issue in numeral that was resolved in numeral version
We maintain our own fork of numeral for Kibana, and it was most recently built on |
Fixes bing integer formatting bug. ✅ Closes: #59415
Kibana version:
master, 7.6.0
Describe the bug:
Formatting large numbers with our default formatting template
0,0.[000]
, the numeral field formatter outputs other formatted numbers as expected. Eg instead of87,595,752,619,485
, it outputs87,595,752,619,484.984
Steps to reproduce:
When you change the index pattern numeral format of the field to
0
it's formatted correctly.Browsers have issue with 64bit numbers/integer. #40183. However the number used for this demo isn't that big, but maybe an internal calculation of
numeral
is exceeding the limit and causes this problem?The text was updated successfully, but these errors were encountered: