# ISODD

**The function ISODD outputs TRUE if the given Number is odd.**

This function takes a [Number](../../variable-data-types/the-number-variable-data-type) as input. It outputs a [boolean](../../variable-data-types/the-boolean-variable-data-type): **TRUE** if the given Number is odd, **FALSE** if it isn't.

#### Declaration

```javascript
ISODD(number) -> boolean
```

&#x20;

#### Parameters

**number** (required, type: _Number_) The number that may or may not be odd.

#### Return Values

**boolean** (type: _Boolean_) The result of checking if the given Number is odd; **TRUE** means that it is and **FALSE** means that it isn't.

#### Examples

The following example checks to see if the number two is odd. It isn't:

```javascript
ISODD(2) -> FALSE
```

The following example checks to see if the number three is odd. It is:

```javascript
ISEVEN(2) -> TRUE
```

The following example checks to see if the number 3.3 is odd. It isn't, because 3.3 isn't an integer:&#x20;

```javascript
ISODD(2.2) -> FALSE
```

&#x20;

#### Discussion

The function ISODD can be considered the opposite of the function [ISEVEN](iseven) – in cases where ISODD will output **TRUE**, ISEVEN will output **FALSE**, and visa versa.
