; uses GCD function
lcm: func [
{Returns the least common multiple of m and n.}
m [integer!]
n [integer!]
][
abs either zero? n [0] [(m * n) / gcd m n]
]
You need to create an account or log in to post comments to this site.