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
aandb.Throws
An error if either
aorbis not a positive integer.