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.
- 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