Search results
30 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Round a double-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
A Node-Red node to perform basic mathematical calculations
Rounds a numeric value toward zero.
- compute.io
- compute-io
- compute
- computation
- math.io
- math-io
- math
- mathematics
- math.trunc
- trunc
- truncate
- round
- integer
- number
A rounding library for JavaScript that behaves predictably (unlike Math.round, Math.floor, Math.ceil).
ES6 Math.trunc() ponyfill
ellipsis text depending on number of lines or number of chars
Truncate a string in the middle to a specified length.
Truncate a string to a specified length.
Iterable slicing functions for JavaScript
Round a numeric value to the nearest power of 10 toward zero.
Round a numeric value to the nearest power of two toward zero.
A collection of mathematical utility functions including operations like clamp, lerp, normalize, and more.
Round a single-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
Round a numeric value to the nearest multiple of 10^n toward zero.
Create an iterator which rounds each iterated value to the nearest power of two toward zero.
Create an iterator which rounds each iterated value to the nearest power of 10 toward zero.
Round a numeric value to the nearest multiple of b^n toward zero.
Round a numeric value to the nearest number toward zero with N significant figures.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- round
- significant
- figures
- sigfig
- sigfigs
- digits
- measurement
- science
- View more
Create an iterator which rounds each iterated value toward zero.