MindFusion.Wpf Pack Programmer's Guide
LCM

Returns the least common multiplier (LCM) of the specified sequence of numbers.

Syntax  Copy Code

LCM( Integer n1, Integer n2, ... ) Integer

Parameters

n1
n2
One or more numbers.

Remarks

If any of the specified arguments is negative, the function returns the #NUM! error value. If one of the arguments is a cell reference or an array, the values of the referenced cells or the array are included in the operation. If the specified values are not integer, they are automatically truncated.

Example

Formula  Copy Code

=LCM(12,18)
=LCM(7,3)

See Also

Function Reference
GCD Function