Math & Text
base
$base — Converts a number between bases 2 and 36.
Converts a number between bases 2 and 36.
Syntax
$base[number;to;(from)]
Parameters
- number (text, required) — The number.
- to (number, required) — Target base.
- from (number, optional) — Source base (default 10).
Return Value
- string.
Usage
$base[255;16] → "ff"
Example
$sendMessage[$base[255;16]]
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.