Project

General

Profile

$lcm » History » Version 1

Per Amundsen, 01/13/2023 07:18 AM

1 1 Per Amundsen
_Added in 4.3_
2
3
*$lcm(N,...)*
4
5
Returns the "least common multiple":https://en.wikipedia.org/wiki/Least_common_multiple for the specified list of numbers.
6
7
_See also [[$gcd]]._
8
9
*Parameters*
10
11
N... - The numbers to search.
12
13
*Example*
14
15
<pre>
16
//echo -ag The least common multiple for 24 and 54 is $lcm(24, 54)
17
</pre>