Skip to content
Math & Text pow

$pow — Raises a number to a power.

Raises a number to a power.

Syntax

$pow[base;exponent]

Parameters

  • base (number, required) — The base.
  • exponent (number, required) — The exponent.

Return Value

  • string.

Usage

$pow[2;10] → "1024"

Example

$sendMessage[$pow[2;10]]

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.