18 packages found
Round a numeric value to the nearest integer.
A library that offers more number rounding options for JavaScript and TypeScript
Round a numeric value to the nearest multiple of 10^n.
.round, .ceil, .floor with precision parameter: .round(1.234, 2) → 1.23
Round a complex number to the nearest integer.
Create an iterator which rounds each iterated value to the nearest integer.
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.
Create an iterator which rounds each iterated value to the nearest power of 10 on a linear scale.
Round a numeric value to the nearest multiple of b^n on a linear scale.
Round a complex 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
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
Create an iterator which rounds each iterated value to the nearest power of two on a linear scale.
Brings decimal adjustment to the Math object.
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