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

From Apache OpenOffice Wiki

< Documentation | How Tos

m |
m |
||

Line 36: | Line 36: | ||

* [[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/Information functions]] | [[Category: Documentation/Reference/Calc/Information functions]] | ||

+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |

## Revision as of 08:03, 3 May 2010

## ISEVEN

Returns ` TRUE` if the value is an even number, or

`if the value is odd.`

**FALSE**### Syntax:

**ISEVEN(value)**

is the value to be checked.**value**

- If
is not an integer any digits after the decimal point are ignored. The sign of**value**is also ignored.**value**

### Example:

**ISEVEN(48)**

- returns
.**TRUE**

**ISEVEN(33)**

- returns
.**FALSE**

**ISEVEN(0)**

- returns
.**TRUE**

**ISEVEN(3.999)**

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

**ISEVEN(-2.1)**

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

### Issues:

` ISEVEN` and

`are listed in the Mathematical category of the Application Help (OOo2.3). They are clearly similar to other`

**ISODD**`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.`

**IS**