LCM_ADD function

From Apache OpenOffice Wiki
Jump to: navigation, search

LCM_ADD

Returns the least common multiple of one or more integers.

This function is only available if the Analysis AddIn is installed.

Syntax:

LCM_ADD(integer1; integer2; ... integer30)

integer1 to integer30 are up to 30 integers or ranges of integers whose least common multiple is to be calculated.
The least common multiple (or lowest common multiple) is the smallest positive integer that is a multiple of all the given numbers.

Example:

LCM_ADD(4; 6)

returns 12, which is the smallest positive integer that is a multiple of 4 (12=4*3) and 6 (12=6*2).

LCM_ADD(B1:C1)

where B1 and C1 contain 6 and 3 respectively, returns 6.

Issues:

The ODFF international standardization of the LCM / LCM_ADD functions allows both functions to produce precisely the same results.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_LCM_ADD_function&oldid=259897"
Views
Personal tools
Navigation
Tools
In other languages