math-hacker
Library to hack native Math
API
var math =
math.precision(num)
math // 0math // 1
math.add(a, b)
math// 3 math// 0.35// In chrome 45.0.2454.99, 0.34 + 0.01 will output 0.35000000000000003 math// 0.0011// In chrome 45.0.2454.99, 1.1111 - 1.11 will output 0.0010999999999998789
math.toFixed(num, precision)
math// "2.39"// In chrome 45.0.2454.99, (2.385).toFixed(2) will output "2.38" math// "2.38" math// "2.00"