Menu

LCM

Description

Returns the least common multiple of integers. The least common multiple is the smallest positive integer that is a multiple of all integer arguments number1, number2, and so on. Use LCM to add fractions with different denominators.

Examples

LCM(10, 30) = 30

LCM(NAN, 150) = NAN

LCM(150, INF) = NAN

LCM(200, -INF) = NAN

LCM(10, 0) = 0

LCM(NAN) = LCM(NAN)

LCM(INF) = LCM(INF)

LCM(-INF) = LCM(-INF)

On this page