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 almost 2 years ago · 2 revisions

Also available in: PDF HTML TXT