The smallest positive integer that is a multiple of two or more numbers.

Implementation

Usage

var result = Arithmetic.LCM(10, 20);
result = Arithmetic.LCM(10, 20, 30);

Tests