FormatIntegerWithDigitGrouping
ESO Lua API function — used by 36 of the 3,030 addons we indexed (combined 4,349,002 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
FormatIntegerWithDigitGrouping(integer number, string delimiter, integer digitGroupSize)Returns: string formattedNumber
Real usage — from Foundry Tactical Combat (FTC)
local left, right = zo_strsplit("%.", output)
left = FormatIntegerWithDigitGrouping(left, thousands)
output = left .. decimal .. rightShort excerpt from the shipping addon Foundry Tactical Combat (FTC) — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Foundry Tactical Combat (FTC) | 1,097,601 |
| Wykkyd Outfitter | 632,442 |
| Wykkyd Toolbar | 567,448 |
| Bag Space Indicator | 325,202 |
| Bandits Gear Manager | 306,643 |
| Wykkyd Full Immersion | 223,536 |