You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect the result in the following code snippet to be "5033.6": result = numbro.unformat(numbro(5033.599).format({ totalLength: 5}))
instead it comes out as "5033.599999999999"
For example, the result of the following code snippet is "5034.6" just as expected: result = numbro.unformat(numbro(5034.599).format({ totalLength: 5}))
So it seems to be limited to .59 and .599 with some, but not all numbers...
Am I missing something vital here or is it a bug?
The text was updated successfully, but these errors were encountered:
I'd expect the result in the following code snippet to be "5033.6":
result = numbro.unformat(numbro(5033.599).format({ totalLength: 5}))
instead it comes out as "5033.599999999999"
For example, the result of the following code snippet is "5034.6" just as expected:
result = numbro.unformat(numbro(5034.599).format({ totalLength: 5}))
So it seems to be limited to .59 and .599 with some, but not all numbers...
Am I missing something vital here or is it a bug?
The text was updated successfully, but these errors were encountered: