Difference between revisions of "Documentation/How Tos/Calc: ISEVEN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:ISEVEN function}} |
+ | {{Documentation/CalcFunc InformationTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ISERROR_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_ISEVEN_ADD_function | ||
+ | }}__NOTOC__ | ||
== ISEVEN == | == ISEVEN == | ||
Returns <tt>'''TRUE'''</tt> if the value is an even number, or <tt>'''FALSE'''</tt> if the value is odd. | Returns <tt>'''TRUE'''</tt> if the value is an even number, or <tt>'''FALSE'''</tt> if the value is odd. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
Line 10: | Line 14: | ||
:<tt>'''value'''</tt> is the value to be checked. | :<tt>'''value'''</tt> is the value to be checked. | ||
− | :If <tt>'''value'''</tt> is not an integer any digits after the decimal point are ignored. The sign of <tt>'''value'''</tt> is also ignored. | + | :If <tt>'''value'''</tt> is not an integer, any digits after the decimal point are ignored. The sign of <tt>'''value'''</tt> is also ignored. |
− | + | ||
=== Example: === | === Example: === | ||
Line 25: | Line 28: | ||
: returns <tt>'''TRUE'''</tt>. Ignoring the sign and digits after the decimal point gives 2, which is EVEN. | : returns <tt>'''TRUE'''</tt>. Ignoring the sign and digits after the decimal point gives 2, which is EVEN. | ||
+ | === Issues: === | ||
+ | <tt>'''ISEVEN'''</tt> and <tt>'''ISODD'''</tt> are listed in the Mathematical category of the Application Help (OOo2.3). They are clearly similar to other <tt>'''IS'''</tt> functions in returning information, and belong in the Information category; however, as they are listed under Mathematical in the Function Wizard, they are currently shown in that category also. | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: ISODD function|ISODD]] | ||
+ | * [[Documentation/How_Tos/Calc: ISEVEN_ADD function|ISEVEN_ADD]] | ||
− | + | * [[Documentation/How_Tos/Calc: Information functions|Information functions]] | |
− | + | * [[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/Information functions]] | |
− | + | [[Category: Documentation/Reference/Calc/Mathematical functions]] | |
− | + | ||
− | + |