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
  • angular Public

    An Angular service wrapper for Float Toolkit

    float-toolkit/angular’s past year of commit activity
    TypeScript 0 Apache-2.0 0 0 2 Updated May 24, 2023
  • react Public

    A React hook wrapper for Float Toolkit

    float-toolkit/react’s past year of commit activity
    TypeScript 1 Apache-2.0 0 0 0 Updated Feb 2, 2023
  • core Public

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

    float-toolkit/core’s past year of commit activity
    TypeScript 0 Apache-2.0 0 0 0 Updated Feb 2, 2023
  • .github Public

    Organization config files

    float-toolkit/.github’s past year of commit activity
    0 0 0 0 Updated Dec 14, 2022

Top languages

Loading…

Most used topics

Loading…