unicode-byte-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Found 30 results for trunc
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.
A Node-Red node to perform basic mathematical calculations
ES6 Math.trunc() ponyfill
A rounding library for JavaScript that behaves predictably (unlike Math.round, Math.floor, Math.ceil).
ellipsis text depending on number of lines or number of chars
Rounds a numeric value toward zero.
Iterable slicing functions for JavaScript
Truncate a string in the middle to a specified length.
Truncate a string to a specified length.
Round a single-precision floating-point number toward zero.
A collection of mathematical utility functions including operations like clamp, lerp, normalize, and more.
Round a numeric value to the nearest power of two toward zero.
Create an iterator which rounds each iterated value toward zero.
Angular pipe for round a number to N decimal places
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 power of 10 toward zero.
Round each element in a single-precision floating-point strided array toward zero.
Round a numeric value to the nearest number toward zero with N significant figures.
Round each element in a single-precision floating-point strided array toward zero according to a strided mask array.
Round a numeric value to the nearest multiple of 10^n toward zero.
Round each element in a double-precision floating-point strided array toward zero.
Create an iterator which rounds each iterated value to the nearest power of two toward zero.
Get the integer part of a number.
Truncate a string in the middle to a specified length.
Round each element in a double-precision floating-point strided array toward zero according to a strided mask array.
Truncate a string to a specified length.
An authentication layer for Trunc AD