Difference between revisions of "Documentation/How Tos/Calc: LCM function"
From Apache OpenOffice Wiki
< Documentation | How Tos
Javier Lopez (Talk | contribs) |
Javier Lopez (Talk | contribs) |
||
Line 3: | Line 3: | ||
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | |booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | ||
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Mathematical_functions|<div style="font-size: 140%;">Mathematical Functions]] | |ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Mathematical_functions|<div style="font-size: 140%;">Mathematical Functions]] | ||
− | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc: | + | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_LCM_ADD_function |
− | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc: | + | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_GESTEP_function |
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Logical_functions | |ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Logical_functions | ||
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Number_Conversion_functions | |ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Number_Conversion_functions |
Revision as of 09:16, 1 June 2013
CALC FUNCTIONS
- Mathematical FunctionsTrigonometric
- CosSinTanCotAcosAcotAsinAtanAtan2DegreesRadiansPiHyperbolic
- CoshSinhTanhCothAcoshAcothAsinhAtanhRounding and remainders
- TruncRoundRounddownRoundupCeilingFloorEvenOddMroundIntQuotientModLogarithm/Powers
- ExpPowerLogLnLog10Bessel functions
- BesseliBesseljBesselkBesselyMiscellaneous
- AbsCombinCombinaConvertConvert AddCountblankCountifDeltaErfErfcFactFactdoubleGcdGcd AddGestepLcmLcm AddMultinomialProductRandRandbetweenSeriessumSignSqrtSqrtpiSubtotal
Contents
LCM
Returns the least common multiple of one or more integers.
Syntax:
LCM(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(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(B1:C1)
- where B1 and C1 contain 6 and 3 respectively, returns 6.
Issues:
To comply with the ODFF standard, from OOo3.0 negative arguments to LCM will yield an error.
Template:Documentation/SeeAlso
-