Calculates the least common multiple (LCM) of two numbers.
The least common multiple of a and b.
a
b
An error if either a or b is not a positive integer.
The first number.
The second number.
Generated using TypeDoc
Calculates the least common multiple (LCM) of two numbers.
Returns
The least common multiple of
a
andb
.Throws
An error if either
a
orb
is not a positive integer.