Search results

54 packages found

A cross-browser, numerically stable algorithm to add floats accurately

published version 2.0.6, 11 years ago578 dependents licensed under $MIT
1,561,127

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

published version 1.1.2, 8 years ago11 dependents licensed under $MIT
97,896

Calculate percentages from a list of values.

published version 2.3.1, 3 years ago15 dependents licensed under $MIT
46,043

The exact-math is a set of methods for addition, subtraction, multiplication, division, rounding, ceiling, flooring and powering calculations. It can be used with big number as it handles the floating point problem.

published version 2.2.3, 5 years ago20 dependents licensed under $MIT
29,460

Rounds an integer up to a power of 2

published version 1.0.0, 10 years ago8 dependents licensed under $MIT
24,052

Banker's rounding for Javascript

published version 0.1.3, 8 years ago2 dependents licensed under $MIT
7,849

A library that offers more number rounding options for JavaScript and TypeScript

published version 4.2.2, a year ago3 dependents licensed under $MIT
2,786

A javascript-based library containing functions that match built in `round` function in PHP

published version 1.0.2, a year ago0 dependents licensed under $MIT
2,734

Rounding methods for exact numbers using strings.

published version 0.3.1, 10 years ago5 dependents licensed under $Apache 2
3,003

Bankers round function to reduce the accumulated error written in TS.

published version 1.0.7, 3 years ago1 dependents licensed under $ISC
1,551

This has not been performance tested.

published version 0.0.4, 6 years ago0 dependents licensed under $ISC
542

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

published version 0.1.4, 17 days ago0 dependents licensed under $MIT
700

Exchange Number Formatting

published version 1.1.6, 3 months ago1 dependents licensed under $CORE
89

Financial precise calculator

published version 3.0.7, 4 years ago0 dependents licensed under $MIT
59

Number short-scaling for JavaScript

published version 0.0.11, 5 years ago0 dependents licensed under $MIT
35

A simple package for rounding numbers by EPSILON prop

published version 1.0.0, 4 years ago0 dependents licensed under $ISC
38

calculate rounded averages

published version 0.5.0, 5 years ago0 dependents
31

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

published version 1.4.3, 5 years ago0 dependents licensed under $MIT
32

Round a number to n significant figures.

published version 1.0.2, 3 years ago1 dependents licensed under $MIT
27

A tiny utility function to perform symmetric rounding (a.k.a. "commercial rounding") on a number.

published version 1.0.5, 6 years ago0 dependents licensed under $MIT
25