LCM

Function

LCM(numbers...)

numbers

The LCM() function returns the least common multiple of the given numbers.

If the inputs are not integers, anything after the decimal will be truncated.

Examples
  • LCM(14, 21)  = 42
  • LCM(14.9, 21.2)  = 42

 

 


LCM is included by default in each file as part of the Math library.

 

See also: