lcm
Returns the least common multiple (LCM) of two integers (a and b).
For example, the LCM of 8 and 12 is 24, that is, lcm(8, 12) == 24.
If any of the arguments is zero, then the returned value is 0.
Function parameters
Parameters
- a:anytype
- b:anytype
Returns the least common multiple (LCM) of two integers (`a` and `b`).
Functions
- lcm
- Returns the least common multiple (LCM) of two integers (`a` and `b`).
Source