LCM (First, Other...) LCM (First; Other...)
First
The first number or array of numbers.
Other
Additional numbers or arrays of numbers.
Returns
Number Number
The least common multiple.
Returns the least common multiple of a set of numbers. LCM (4, 6) LCM (4; 6) returns 12, because 12 is the smallest positive integer that is a multiple of all parameters.
The parameters are expected to be integers, that is, they should not have fractional components. If they do, their numbers are truncated as though the INT function was applied to them.
Examples
LCM (30, 12)
LCM (30; 12)
Returns 60.
LCM ({ 24, 36 })
LCM ({ 24; 36 })
Returns 72.
LCM (30, 12, 70)
LCM (30; 12; 70)
Returns 420.