Skip to content

$numberSeparator

$numberSeparator will separate numbers and make them readable.

Usage

$numberSeparator[num;sep?]

Parameters

FieldTypeDescriptionRequired
numnumberNumber you want to separate.true
sep?stringSeparator which will be used to separate the numbers, default: ,.false

Example(s)

This will return 1,000,000:

1
client.command({
2
name: "numberSeparator",
3
code: `
4
$numberSeparator[1000000;,]
5
`
6
});