-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
good first issueFirst-time contributors who are looking to help should work on these issues.First-time contributors who are looking to help should work on these issues.type: bugSomething that should function correctly isn't.Something that should function correctly isn't.
Description
Describe the bug
If number is greater than 10 digits formatNumber
always returns 02147483647.2147483647
or alike.
To Reproduce
> formatNumber "000000000000.0" 1234567899.0
(Right "001234567899.0")
but
> formatNumber "000000000000.0" 12345678901.0
(Right "02147483647.2147483647")
Expected behavior
Numbers up to 12345678901234564.0
can exactly be show
n. So formatNumber
should format them. If for whatever reason it could not format reasonably then Left
should be returned.
Metadata
Metadata
Assignees
Labels
good first issueFirst-time contributors who are looking to help should work on these issues.First-time contributors who are looking to help should work on these issues.type: bugSomething that should function correctly isn't.Something that should function correctly isn't.