Skip to content
@float-toolkit

Float Toolkit

Float Toolkit is an NPM package for working with floating point numbers.

Float Toolkit

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.

Features

  • Accurate math operations
  • Round floats to any number of digits
  • No dependencies
  • TypeScript type declarations
  • Compatible with browsers and Node.js
  • > 95% code coverage
  • Has wrappers for Vanilla JS, React and Angular.

Pinned Loading

  1. core core Public

    Float Toolkit is an NPM package for working with floating-point numbers.

    TypeScript

  2. react react Public

    A React hook wrapper for Float Toolkit

    TypeScript 1

  3. angular angular Public

    An Angular service wrapper for Float Toolkit

    TypeScript

Repositories

Showing 4 of 4 repositories

Top languages

Loading…

Most used topics

Loading…