Perform precise math operations without floating point errors.
npm install precise-math
const { add } = require("precise-math")
console.log(0.2 + 0.1 + 0.05)
//=> 0.35000000000000003
console.log(add(0.2, 0.1, 0.05))
//=> 0.35
Type: numbers
The numbers to perform the math operation on.