Child pages
  • Additional Custom Expression Examples

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

n%2==0 shows if the number is divisible by 2 with no remainder. This is an "Even" number

 

 

Tip

You n%2 !=0 shows if the number is divided by 2 does have a remainder than the number is "Odd"

Code Block
n=[Average: WB1];
if( n%2==0,
 "Even",
 if (n% 2 != 0,
 "Odd",
 "Unknown"
 )
)
 

 

...