add
A cross-browser, numerically stable algorithm to add floats accurately
Found 62 results for rounding
A cross-browser, numerically stable algorithm to add floats accurately
Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph
Calculate percentages from a list of values.
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.
Rounds an integer up to a power of 2
Banker's rounding for Javascript
A javascript-based library containing functions that match built in `round` function in PHP
A library that offers more number rounding options for JavaScript and TypeScript
Bankers round function to reduce the accumulated error written in TS.
This has not been performance tested.
Rounding methods for exact numbers using strings.
Lightweight, precise monetary calculation utilities using decimal.js
Exchange Number Formatting
Decimal-safe math for JavaScript/TypeScript - accurate arithmetic (add, sub, mul, div, round) without floating-point errors. Plus factorial, prime numbers, fibonacci, GCD, LCM, number conversions, perfect numbers, Armstrong numbers, and more. Perfect for
A functional library to replace partially the native Intl API
Decimal rounding with ULP.
A program for price counting in Duopomelo.ID
Precise to N fractional digits without rounding the Number. 99.9999 => precise_to_n_fractionals(99.9999,3) => 99.999
A lightweight and reliable JavaScript library for precise currency operations, built to safely handle monetary values without floating point errors.
Compute the unit in last place of a given IEEE-754 64-bit number
calculate rounded averages
3 functions: getRounded(), getRoundedUp(), getRoundedDown()
Utility functions used to perform basic math.
Get the integral and fractional parts of a given number.
Round a number to n significant figures.
Small function that rounds number with selected precision
Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph
a rounding function that may give more accurate rounding results than the method taught in school. It avoids cumulative errors
Like Math.floor but for Date objects
PricingCore - A high-precision, currency-agnostic pricing engine with BigInt precision, multiple markup strategies, multiple rounding strategies, and ISO 4217 currency support via currency-codes package
'smart-handlebars' is a powerful Handlebars templating extension that enhances your frontend development capabilities. It extends the standard Handlebars functionality with a suite of additional functions, making it a versatile tool for web developers. Wi
Financial precise calculator
Rounds number to specific number of digits before or after decimal
A simple number formatting utility for Javascript and Node.js
formats a number using fixed-point notation and returns a number
A utility package for converting decimal numbers to fractions, simplifying fractions, validating fraction strings, and converting improper fractions to mixed numbers.
Angular pipe for round a number to N decimal places
A simple package for rounding numbers by EPSILON prop
Custom rounding behaviour for BigInt arithmetic
Number short-scaling for JavaScript
Simple utilities for rounding and converting storage units
A function to offer more rounding options for numbers in JavaScript and TypeScript
Takes number and returns it with decimal shifted by a given number places
Precision based math operations
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.
A simple and tiny library with no dependencies for monetary operations and recipes
Significant rounding
A function which fixes floating-point rounding errors in JavaScript
A simple and tiny library for monetary operations
Returns number with fixed number of digits after the decimal. It also rounds cautiously to avoid cumulative errors
Accurate Rounding up to 16n decimal places
Rounding the numbers in object and objects in array.
Utility functions for applying custom rounding rules to prices, where decimal parts are rounded to either .5 or the next whole number.
Round numbers
Hexagon grid rounding
A tiny utility function to perform symmetric rounding (a.k.a. "commercial rounding") on a number.
A spiffy rounder for numbers
Round a number to the floor or ceiling, based on your own set bias
Maths expression eval for boring stuff like money, accounting and such
A small library of functions for rounding minutes, seconds, and milliseconds by intervals.
Round numbers to a step. Accepts an interval and optional offset.
A comprehensive TypeScript math utilities library with type-safe operations, statistical functions, and interpolation tools