Difference between revisions of "Documentation/How Tos/Calc: SIGN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:SIGN function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_SERIESSUM_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_SQRT_function | ||
+ | }}__NOTOC__ | ||
== SIGN == | == SIGN == | ||
Returns the sign of a number:- 1 if the number is positive, -1 if negative and 0 if zero. | Returns the sign of a number:- 1 if the number is positive, -1 if negative and 0 if zero. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
<tt>'''SIGN(number)'''</tt> | <tt>'''SIGN(number)'''</tt> | ||
: <tt>'''number'''</tt> is the number whose sign is to be determined. | : <tt>'''number'''</tt> is the number whose sign is to be determined. | ||
− | |||
=== Example: === | === Example: === | ||
Line 20: | Line 23: | ||
: returns <tt>'''0'''</tt>. | : returns <tt>'''0'''</tt>. | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: ABS function|ABS]] | ||
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | |
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 15:41, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
-