JSPM

Found 57 results for rounding

@writetome51/get-fixed-float

Returns number with fixed number of digits after the decimal. It also rounds cautiously to avoid cumulative errors

    • v2.0.1
    • 14.30
    • Published

    precise_to_n_fractionals

    Precise to N fractional digits without rounding the Number. 99.9999 => precise_to_n_fractionals(99.9999,3) => 99.999

    • v1.0.8
    • 13.83
    • Published

    ngx-fixed-decimal

    Angular pipe for round a number to N decimal places

    • v1.0.0
    • 13.58
    • Published

    @writetome51/get-cautiously-rounded

    a rounding function that may give more accurate rounding results than the method taught in school. It avoids cumulative errors

    • v2.0.0
    • 12.94
    • Published

    sigfig

    Round a number to n significant figures.

    • v1.0.2
    • 12.48
    • Published

    pround

    A simple package for rounding numbers by EPSILON prop

      • v1.0.0
      • 11.50
      • Published

      @eriveltonsilva/currency.js

      A lightweight and reliable JavaScript library for precise currency operations, built to safely handle monetary values without floating point errors.

      • v0.1.4
      • 10.70
      • Published

      rounding-decimal

      Accurate Rounding up to 16n decimal places

        • v1.0.5
        • 10.70
        • Published

        big-round

        Custom rounding behaviour for BigInt arithmetic

        • v2.0.0
        • 10.33
        • Published

        clean-pslg-3d

        Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph

        • v0.1.2
        • 9.55
        • Published

        @lvlte/modf

        Get the integral and fractional parts of a given number.

        • v1.1.0
        • 9.54
        • Published

        date-floor

        Like Math.floor but for Date objects

        • v0.0.4
        • 8.88
        • Published

        rounding-values

        Rounding the numbers in object and objects in array.

        • v1.0.3
        • 8.33
        • Published

        fix-floats

        A function which fixes floating-point rounding errors in JavaScript

        • v1.1.0
        • 7.30
        • Published

        round-to-step

        Round numbers to a step. Accepts an interval and optional offset.

        • v1.0.1
        • 7.05
        • Published

        bias-rounding

        Round a number to the floor or ceiling, based on your own set bias

        • v0.1.2
        • 7.04
        • Published

        numberparser

        A simple number formatting utility for Javascript and Node.js

        • v0.0.6
        • 7.04
        • Published

        complete-round

        A function to offer more rounding options for numbers in JavaScript and TypeScript

        • v1.4.3
        • 6.97
        • Published

        round-price

        Utility functions for applying custom rounding rules to prices, where decimal parts are rounded to either .5 or the next whole number.

          • v1.0.1
          • 6.97
          • Published

          spiffy-round

          A spiffy rounder for numbers

          • v1.0.2
          • 5.88
          • Published

          number-to-fixed

          formats a number using fixed-point notation and returns a number

          • v1.0.0
          • 5.82
          • Published

          rounding

          Simple utilities for rounding and converting storage units

            • v1.0.0
            • 4.61
            • Published

            money-math-recipes

            A simple and tiny library with no dependencies for monetary operations and recipes

            • v2.0.4
            • 4.40
            • Published

            @drag13/round-to

            Small function that rounds number with selected precision

            • v0.10.4
            • 4.40
            • Published

            grumpify

            Maths expression eval for boring stuff like money, accounting and such

              • v0.1.0
              • 2.87
              • Published

              fraction-utils

              A utility package for converting decimal numbers to fractions, simplifying fractions, validating fraction strings, and converting improper fractions to mixed numbers.

              • v1.0.4
              • 2.87
              • Published

              jorts

              Number short-scaling for JavaScript

              • v0.0.11
              • 2.70
              • Published

              fixdecimal

              The fixdecimal package provides an extended rounding and decimal digit fixing solution in JavaScript.This Package allows to handle floating number operations precisely and effiently.

              • v1.0.2
              • 2.60
              • Published

              round-time

              A small library of functions for rounding minutes, seconds, and milliseconds by intervals.

              • v1.0.0
              • 2.60
              • Published