LCM

LCM

Synopsis

LCM(number1,number2,...)

Description

LCM returns the least common multiple of integers. The least common multiple is the smallest positive number that is a multiple of all integer arguments given.

  • If any of the arguments is less than one, LCM returns #NUM!.
  • If any of the arguments is non-integer, it is truncated.
  • This function is Excel compatible.

Examples

LCM(2,13) equals 26.

LCM(4,7,5) equals 140.

See also

GCD.