IsOdd

This function returns whether or not a given number is odd.

Description

Returns true if and only if the input value (rounded down) is odd.

Type

BOOLEAN

Arguments

Type

Meaning

1

NUMERIC

a value

2

NUMERIC

the units in which to determine oddness.

Evaluation

Converts the value into the desired units, rounds down to the nearest integer, then returns whether or not this value is odd.

Comments

 

 
IsOdd(Puddle.Inflow[], 1.0 [cfs])
 
TRUE or FALSE