Returns the least common multiple for a set of integers.
Category: | Mathematical |
Returned data type: | DOUBLE |
specifies any valid expression that evaluates to an integer.
Requirement | At least two arguments are required. |
Data type | DOUBLE |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select lcm(1,5,3,0); |
. |
select lcm(25,70,85,130); |
77350 |
select lcm(33,78); |
858 |