The function LCM returns the least common multiple of one or more Numbers.


LCM(first_number, second_number, nth_number, ...) -> least_common_mulitple


first_number, second_number, nth_number (type: at least one number)
The numbers to compute the least common multiple for.

Return Values

least_common_multiple (type: number)
The least common multiple.


The least common multiple of the numbers three and five is fifteen.

LCM(3, 5) -> 15

Was this article helpful?

0 out of 0 found this helpful

Articles in this section