precise-math
Perform precise math operations without floating point errors.
Install
npm install precise-math
Usage
const add = console//=> 0.35000000000000003 console//=> 0.35
API
add(...numbers)
subtract(...numbers)
multiply(...numbers)
divide(...numbers)
modulo(...numbers)
numbers
Type: numbers
The numbers to perform the math operation on.