tinymist_std::typst::foundations::calc

Function lcm

pub fn lcm(a: i64, b: i64) -> Result<i64, EcoString>
Expand description

Calculates the least common multiple of two integers.

#calc.lcm(96, 13)