Difference between revisions of "Documentation/How Tos/Calc: GESTEP function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
m |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:GESTEP function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_GCD_ADD_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_LCM_function | ||
+ | }}__NOTOC__ | ||
== GESTEP == | == GESTEP == | ||
Line 24: | Line 29: | ||
: in a cell, where cell A1 contains <tt>'''4'''</tt>, shows <tt>'''FALSE'''</tt>, as 4 is not greater than or equal to 5. This approach is very similar to <tt>'''GESTEP'''</tt> but does not trap non-numeric arguments. | : in a cell, where cell A1 contains <tt>'''4'''</tt>, shows <tt>'''FALSE'''</tt>, as 4 is not greater than or equal to 5. This approach is very similar to <tt>'''GESTEP'''</tt> but does not trap non-numeric arguments. | ||
− | {{ | + | === Issues: === |
+ | * <tt>'''GESTEP'''</tt> should only be used with numbers - see [http://qa.openoffice.org/issues/show_bug.cgi?id=86283 issue 86283]. | ||
+ | * <tt>'''GESTEP'''</tt> currently appears in the AddIn category of the Function Wizard. | ||
+ | |||
+ | {{SeeAlso|EN| | ||
* [[Documentation/How_Tos/Calc: DELTA function|DELTA]] | * [[Documentation/How_Tos/Calc: DELTA function|DELTA]] | ||
Line 33: | Line 42: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | + | [[Category: Documentation/Reference/Calc/Mathematical functions]] | |
− | + | ||
− | + | ||
− | + |
Latest revision as of 15:28, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
- EXPPOWERLOGLNLOG10Bessel functions
- BESSELIBESSELJBESSELKBESSELYMiscellaneous
- ABSCOMBINCOMBINACONVERTCONVERT ADDCOUNTBLANKCOUNTIFDELTAERFERFCFACTFACTDOUBLEGCDGCD ADDGESTEPISEVENISODDLCMLCM ADDMULTINOMIALPRODUCTRANDRANDBETWEENSERIESSUMSIGNSQRTSQRTPISUBTOTAL
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.
See Also
-