lcm() Function

Returns the least common multiple of the specified non-negative number(s), which is the smallest number that is a multiple of all the given numbers.

Syntax

lcm( number, … )

number: (Decimal Array) The list of non-negative numbers.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

lcm(5,10,15) returns 30

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK