Search
@stdlib/math-base-special-roundn
Round a double-precision floating-point number to the nearest multiple of 10^n.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-roundn@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.round
round
roundn
fix
tofixed
integer
nearest
number
tofixed
Converts a number into a string, keeping a specified number of decimals.
v1.0.0 URL:
https://unpkg.com/tofixed@1.0.0/index.js
Open
Browse Files
tofixed
fixed
precision
number
convert
converter
@stdlib/math-base-special-truncn
Round a numeric value to the nearest multiple of 10^n toward zero.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-special-truncn@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
truncate
trunc
truncn
round
fix
tofixed
integer
nearest
number
@stdlib/math-base-special-croundn
Round each component of a double-precision complex floating-point number to the nearest multiple of 10^n.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-croundn@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.round
round
roundn
cround
integer
nearest
value
fix
tofixed
complex
cmplx
number
@stdlib/math-base-special-floorn
Round a double-precision floating-point number to the nearest multiple of 10^n toward negative infinity.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-floorn@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.floor
floor
floorn
round
fix
tofixed
integer
nearest
number