Strange behavior with iseven and isodd functions

Hello,

I’m using the iseven and isodd functions and I’m not getting the expected results. Here’s an example, I created a sequence of 4 numbers and created a new column to check if they were odd (“Odd” appears in new column) or even (“Even” appears in new column).

If I use Rule action, I get “Odd” result in the even numbers, and empty in the odd numbers. If I use the Calculate new column action I get “Even” in the even numbers, and empty in the odd numbers:

I can’t figure out what I’m doing wrong here.

Here’s this sample project: Iseven and Isodd.morph (2.5 KB)

Thanks,

Roberto