SetThousandsSep
SetThousandsSep ( char )
Argument | Type | Range | Default | Note |
---|---|---|---|---|
char | str | 0..1 | (required) |
Examples
SetThousandsSep("") /* No thousands separator (default) */
SetThousandsSep(",") /* E.g.: 1234567 -> 1,234,567 */
SetThousandsSep("'") /* E.g.: 1234567 -> 1'234'567 */
Description
The SetThousandsSep() function makes it possible to output numbers with thousands separators. For more details, refer to Numbers.