"pair odd" function

T

Toño

I have a numeric field.
I would like to know wether there is a function that allows me to know
wether a number is pair or odd.
 
K

KARL DEWEY

To me the opposite of ODD is EVEN. Can you define "Pair" for me?
If you mean Odd & Even then you can use MOD 2 as below.
IIF([YourNumberField] Mod 2 >0, "Odd", "Even")
 
T

Toño

Sorry I meant even ( As you can imagine I'm spanish ).
Karl thanks a lot.Worked perfect.

Thanks again for your help

KARL DEWEY said:
To me the opposite of ODD is EVEN. Can you define "Pair" for me?
If you mean Odd & Even then you can use MOD 2 as below.
IIF([YourNumberField] Mod 2 >0, "Odd", "Even")
--
KARL DEWEY
Build a little - Test a little


Toño said:
I have a numeric field.
I would like to know wether there is a function that allows me to know
wether a number is pair or odd.
 
Top