Availability:Arithmetic function (see is/2)
lcm(+IntExpr1,
+IntExpr2)Result is the least common multiple of IntExpr1,
IntExpr2.bugIf the
system is compiled for bounded integers only lcm/2
produces an integer overflow if the product of the two expressions does
not fit in a 64 bit signed integer. The default build with unbounded
integer support has no such limit. If either expression
evaluates to zero the LCM is zero.