num::integer

Function lcm

Source
pub fn lcm<T>(x: T, y: T) -> T
where T: Integer,
Expand description

Calculates the Lowest Common Multiple (LCM) of the number and other.