LCM Function

Standard Library function that returns the least common multiple of some integers greater than 1.

Usage

    result = LCM(i)

Input Parameters

i—An array of integers greater than 1.

Returned Value

result—An integer, the least common multiple of the integers i.

Keywords

None.

Example

PM, LCM( [3,2,4] )
; PV-WAVE prints:
;   12.000000

See Also

FACTORGCDPRIME