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

format don't work with exponential numbers #7405

Closed
xrado opened this Issue Nov 15, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@xrado

xrado commented Nov 15, 2017

Expected behaviour

Highcharts.format('num {value:.8f}',{value:8.3000000e-7})
"num 0.00000083"

Actual behaviour

Highcharts.format('num {value:.8f}',{value:8.3000000e-7});
"num 8.30000000e-7"

Live demo with steps to reproduce

http://jsfiddle.net/xrado/jyLh6pqn/

see tooltip on the smallest bar

Affected browser(s)

probably all

@KacperMadej KacperMadej self-assigned this Nov 15, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Nov 15, 2017

Contributor

Thank you for reporting the problem.

Contributor

KacperMadej commented Nov 15, 2017

Thank you for reporting the problem.

@xrado

This comment has been minimized.

Show comment
Hide comment
@xrado

xrado Nov 21, 2017

👍🏼

xrado commented Nov 21, 2017

👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment