Project

General

Profile

Actions

Added in 4.3

$lcm(N,...)

Returns the least common multiple for the specified list of numbers.

See also $gcd.

Parameters

Parameter Description
N... The number(s) to search.

Example

//echo -ag The least common multiple for 24 and 54 is $lcm(24, 54)

Updated by Per Amundsen about 1 year ago · 2 revisions

Also available in: PDF HTML TXT