Search
@stdlib/math-base-special-trunc
Round a double-precision floating-point number toward zero.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-trunc@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
trunc
truncate
round
integer
number
special function
special
function
polyfill
ponyfill
@stdlib/math-base-special-truncf
Round a single-precision floating-point number toward zero.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-truncf@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
trunc
truncate
round
integer
number
special function
special
function
polyfill
ponyfill
@stdlib/math-base-special-trunc10
Round a numeric value to the nearest power of 10 toward zero.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-special-trunc10@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
truncate
trunc
trunc10
round
floor
ceil
nearest
number
@stdlib/math-base-special-trunc2
Round a numeric value to the nearest power of two toward zero.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-special-trunc2@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
truncate
trunc
trunc2
round
floor
ceil
nextpow2
prevpow2
nearest
number
@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