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

From Apache OpenOffice Wiki

< Documentation | How Tos

m |
m |
||

Line 37: | Line 37: | ||

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

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

## ISODD

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

`if the value is even.`

**FALSE**### Syntax:

**ISODD(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:

**ISODD(33)**

- returns
.**TRUE**

**ISODD(48)**

- returns
.**FALSE**

**ISODD(3.999)**

- returns
. Ignoring digits after the decimal point gives 3, which is odd.**TRUE**

**ISODD(-3.1)**

- returns
. Ignoring the sign and digits after the decimal point gives 3, which is odd.**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**