Search results
29 packages found
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
ellipsis text depending on number of lines or number of chars
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
Truncate a string in the middle to a specified length.
Truncate a string to a specified length.
Round a numeric value to the nearest power of two toward zero.
Round a numeric value to the nearest power of 10 toward zero.
Round a numeric value to the nearest multiple of 10^n toward zero.
Round each element in a single-precision floating-point strided array toward zero according to a strided mask array.
- stdlib
- math.trunc
- trunc
- truncate
- round
- integer
- nearest
- value
- number
- single-precision
- float
- flt
- float32
- float32array
- View more
Round each element in a double-precision floating-point strided array toward zero.
Round each element in a single-precision floating-point strided array toward zero.
Round each element in a double-precision floating-point strided array toward zero according to a strided mask array.
- stdlib
- math.trunc
- trunc
- truncate
- round
- integer
- nearest
- value
- number
- double-precision
- double
- dbl
- float64
- float64array
- View more
Create an iterator which rounds each iterated value toward zero.
Create an iterator which rounds each iterated value to the nearest power of two toward zero.
Round each element in a strided array 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
Truncate a string to a specified length.