Search results
19 packages found
A library that offers more number rounding options for JavaScript and TypeScript
Versatile JavaScript library for precise rounding of decimal places and significant digits.
Round a numeric value to the nearest integer.
Round a double-precision floating-point number to the nearest multiple of 10^n.
.round, .ceil, .floor with precision parameter: .round(1.234, 2) → 1.23
Brings decimal adjustment to the Math object.
Round a numeric value to the nearest power of 10 on a linear scale.
Round a numeric value to the nearest power of two on a linear scale.
Round a numeric value to the nearest number with N significant figures.
- stdlib
- stdmath
- mathematics
- math
- math.round
- round
- significant
- figures
- sigfig
- sigfigs
- digits
- measurement
- science
- nearest
Round each component of a double-precision complex floating-point number to the nearest integer.
Create an iterator which rounds each iterated value to the nearest integer.
Create an iterator which rounds each iterated value to the nearest power of two on a linear scale.
Round a numeric value to the nearest multiple of b^n on a linear scale.
Create an iterator which rounds each iterated value to the nearest power of 10 on a linear scale.
Round each component of a double-precision complex floating-point number to the nearest multiple of 10^n.
- stdlib
- stdmath
- mathematics
- math
- math.round
- round
- roundn
- cround
- integer
- nearest
- value
- fix
- tofixed
- complex
- View more
Rounds a numeric value to the nearest integer.
- compute.io
- compute-io
- compute
- computation
- math.io
- math-io
- math
- mathematics
- math.round
- round
- integer
- nearest
- number
Precise to N fractional digits without rounding the Number. 99.9999 => precise_to_n_fractionals(99.9999,3) => 99.999
Extend Math.round to support an argument for decimal places