numbers.module
README.md
numbers (productionKit)
Big numbers the way idle and tycoon games write them. local N = require("productionKit.numbers"), then N.format(1234567) is "1.2M", N.rate(3.5) is "+3.5/s" and N.duration(7980) is "2h 13m". Five styles, switched by one setting (N.setStyle("letters") or Production.setup{ numbers = "letters" }): short (1.2K, 3.4M, 5.6B, 7.8T, 9.1Qa ... up to 1e303), letters (K, M, B, T, then aa, ab ... zz), scientific (1.23e15), engineering (12.3e15) and words (1.2 million). Pure Luau, no engine state, used by every productionKit display and screen.