safe_maths
v1.0.2
Published
In This Package you can calculate numbers precisely even after 16 decimal places( limit of javascript of precise calcultion).
Downloads
2
Readme
npm i safe_maths
const safeMaths = require('safe_maths');
safeMaths.add(1,2); //result 3<br>
safeMaths.mul(1,2); //result 2<br>
safeMaths.pow(1,2); //result 1<br>
safeMaths.div(1,2); //result 0.5<br>
safeMaths.sub(1,2); //result -1<br>