Description:
Return the least common multiple.
Syntax:
lcm(xi,…)
lcm(A)
Note:
The function gets the least common multiple of the numeric members of [x1, x2,…]. If there is any member that is equal to or less than 0, than the lcm function returns the false value 0
Parameter:
A |
A sequence |
xi |
An expression, which will be ignored if its value is not a number |
Return value:
The least common multiple
Example:
lcm(5,2) |
10 |