shiva-num

Number utility library for Lua 5.4

$ luarocks install shiva-num

Number utilities for the Shiva framework.
Includes clamp, round, currency formatting, comma-separated format,
percentage, compact notation (1K/1M/1B), linear interpolation (lerp),
inverse lerp, range mapping, between check, random integers/floats,
and unit conversions (meters/feet, km/h/mph).

Versions

0.1.0-118 hours ago0 downloads

Dependencies

lua >= 5.4

Manifests