Javascript rounding error #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
0.1 + 0.2 = 0.300000004
http://blog.blakesimpson.co.uk/read/61-fix-0-1-0-2-0-300000004-in-javascript
Thanks Tim! Fixed this and added 3 test cases to make sure it works.