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

0.995 rounded to 0.00 in tooltip when set to show two decimal places #6088

paulmdavies opened this issue Dec 5, 2016 · 1 comment


Copy link

@paulmdavies paulmdavies commented Dec 5, 2016

Expected behaviour

Tooltip should display 1.00 for value of 0.995 when set to show two decimal places

Actual behaviour

Tooltip displays 0.00

Live demo with steps to reproduce

Affected browser(s)

Firefox, Chrome

@oysteinmoseng oysteinmoseng self-assigned this Dec 6, 2016
Copy link

@oysteinmoseng oysteinmoseng commented Dec 6, 2016

Thank you for reporting. It seems the issue is that we are rounding the decimal places separately, so the rounded decimals don't carry over to the integer part.

Internal note: It fails in Utilies - Highcharts.numberFormat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants