Skip to content
Math & Text lcm

$lcm — Least common multiple of two or more whole numbers.

Least common multiple of two or more whole numbers.

Syntax

$lcm[a;b;...]

Parameters

  • a, b, … (integer, required) — At least two whole numbers.

Return Value

  • string.

Usage

$lcm[4;6] → "12"

Example

$sendMessage[$lcm[4;6]]

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.