Your Airkit journey starts here

LCM

Returns the least common multiple of two or more numbers.

Declaration

LCM(list_of_numbers) -> number

Parameters

list_of_numbers
array -A list of numbers to compute the least common multiple for.

Return Values

number
number -The least common multiple