Difference between revisions of "Documentation/How Tos/Calc: ISEVEN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 35: Line 35:
 
* [[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]]
+
[[Category: Documentation/Reference/Calc/Information functions]]

Revision as of 07:24, 19 April 2010


ISEVEN

Returns TRUE if the value is an even number, or FALSE if the value is odd.

Syntax:

ISEVEN(value)

value is the value to be checked.
If value is not an integer any digits after the decimal point are ignored. The sign of value is also ignored.

Example:

ISEVEN(48)

returns TRUE.

ISEVEN(33)

returns FALSE.

ISEVEN(0)

returns TRUE.

ISEVEN(3.999)

returns FALSE. Ignoring digits after the decimal point gives 3, which is not EVEN.

ISEVEN(-2.1)

returns TRUE. Ignoring the sign and digits after the decimal point gives 2, which is EVEN.

Issues:

ISEVEN and ISODD are listed in the Mathematical category of the Application Help (OOo2.3). They are clearly similar to other IS 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.

Template:Documentation/SeeAlso

Personal tools