@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
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctrunctruncateroundintegernumberspecial functionspecialfunctionpolyfillponyfill

math-truncate

Rounds a numeric value toward zero.
v1.0.0 URL: https://unpkg.com/math-truncate@1.0.0/lib/index.js
OpenBrowse Files
compute.iocompute-iocomputecomputationmath.iomath-iomathmathematicsmath.trunctrunctruncateroundintegernumber

@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
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctrunctruncateroundintegernumberspecial functionspecialfunctionpolyfillponyfill

@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
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctruncatetrunctrunc10roundfloorceilnearestnumber

@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
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctruncatetrunctrunc2roundfloorceilnextpow2prevpow2nearestnumber