Difference between revisions of "Documentation/How Tos/Calc: GESTEP 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:_ISODD_function |
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_GCD_ADD_function | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_GCD_ADD_function | ||
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Logical_functions | |ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Logical_functions | ||
Line 76: | Line 76: | ||
* [[Documentation/How_Tos/Calc:_GCD_ADD_function|<div style="font-size: 120%;">Gcd Add]] | * [[Documentation/How_Tos/Calc:_GCD_ADD_function|<div style="font-size: 120%;">Gcd Add]] | ||
* [[Documentation/How_Tos/Calc:_GESTEP_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Gestep]] | * [[Documentation/How_Tos/Calc:_GESTEP_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Gestep]] | ||
− | |||
* [[Documentation/How_Tos/Calc:_ISODD_function|<div style="font-size: 120%;">Isodd]] | * [[Documentation/How_Tos/Calc:_ISODD_function|<div style="font-size: 120%;">Isodd]] | ||
* [[Documentation/How_Tos/Calc:_LCM_function|<div style="font-size: 120%;">Lcm]] | * [[Documentation/How_Tos/Calc:_LCM_function|<div style="font-size: 120%;">Lcm]] |
Revision as of 09:09, 1 June 2013
CALC FUNCTIONS
- Mathematical FunctionsTrigonometric
- CosSinTanCotAcosAcotAsinAtanAtan2DegreesRadiansPiHyperbolic
- CoshSinhTanhCothAcoshAcothAsinhAtanhRounding and remainders
- TruncRoundRounddownRoundupCeilingFloorEvenOddMroundIntQuotientModLogarithm/Powers
- ExpPowerLogLnLog10Bessel functions
- BesseliBesseljBesselkBesselyMiscellaneous
- AbsCombinCombinaConvertConvert AddCountblankCountifDeltaErfErfcFactFactdoubleGcdGcd AddGestepIsoddLcmLcm AddMultinomialProductRandRandbetweenSeriessumSignSqrtSqrtpiSubtotal
Contents
GESTEP
Returns 1 if a number is greater than or equal to a step number, or 0 otherwise.
This function is only available if the Analysis AddIn is installed.
Syntax:
GESTEP(number; stepnumber)
- returns 1 if number is greater than or equal to stepnumber (both being numbers). If stepnumber is omitted it is assumed to be 0.
Example:
GESTEP(4; 5)
- returns 0.
GESTEP(4; A1)
- where cell A1 contains 4, returns 1.
GESTEP(2)
- returns 1, because 2 is greater than 0.
=A1>=5
- in a cell, where cell A1 contains 4, shows FALSE, as 4 is not greater than or equal to 5. This approach is very similar to GESTEP but does not trap non-numeric arguments.
Issues:
- GESTEP should only be used with numbers - see issue 86283.
- GESTEP currently appears in the AddIn category of the Function Wizard.
-