Math387.Lcm Method

function Lcm(const X: Integer; const Y: Integer): Integer;

Smallest common multiplier.

#NameTypeDescription
1XInteger
2YInteger

Returns: Int32 - the smallest common multiplier of X and Y. X and Y must be positive integers.

See Also: Math387.Gcd