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

@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-truncsd

Round a numeric value to the nearest number toward zero with N significant figures.
v0.3.0 URL: https://unpkg.com/@stdlib/math-base-special-truncsd@0.3.0/lib/index.js
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctruncroundsignificantfiguressigfigsigfigsdigitsmeasurementsciencenearestnumber