Skip to content
Math & Text separateBigint

$separateBigint — Groups the thousands of an integer of any size.

Groups the thousands of an integer of any size.

Syntax

$separateBigint[number;(separator)]

Parameters

  • number (number, required) — The integer.
  • separator (text, optional) — Separator (default ,).

Return Value

  • string.

Usage

$separateBigint[1234567] → "1,234,567"

Example

$sendMessage[$separateBigint[1234567]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.