LcmIntegerExtension extension

on

Methods

lcm(int other) int

Available on int, provided by the LcmIntegerExtension extension

Returns the least common multiple (LCM) of this int and other. This is the smallest positive integer that is divisible by both numbers.