lcm
ErrorsCollection

lcm

Synthesised documentation from language/operators

From language/operators

See Original text in context

multi sub infix:<lcm>($a$b --> Int:D)

Coerces both arguments to Int and returns the least common multiple; that is, the smallest integer that is evenly divisible by both arguments.