fixfloat
You can use it to fix the float-number bug in javascript.
const fixfloat = ; const floatNumber = 01 + 02; // 0.30000000000000004 ; // 0.3
You can also use it to round your number.
const fixfloat = ; const floatNumber = 34563456; ; // 3456.3; // 3456.35; // 3456.3; // 3456; // 3460; // 3000
Install
npm install fixfloat --save