LCM

LCM

Syntax

LCM(<number>;<number>;...)

Description

Returns the least common multiple which is the smallest positive integer that is a multiple of all integer arguments. This function supports more than 255 arguments.

Examples

Column1

Column2

LCM returns

Column1

Column2

LCM returns

5

2

10

24

36

72

20.8

12

60

20

-30

60