Float Toolkit is a lightweight, dependency-less NPM package that allows you to work with floats (floating-point numbers, or numbers with decimals).
You can round floats down to any number of digits, and perform accurate math operations (addition, subtraction, multiplication and division) with them.