Making an integer out of a rational number

Discussion created by Guest on Oct 31, 2006
I got this thread from AndersH in the API Groop

This syntax works for me:
"D2@sketch2";= IIF ("D1@sketch1"; LIKE 50, 2, 4)

Meaning that if "D1@sketch1"; equals 50 then set "D2@sketch2"; to 2.
Else set "D2@sketch2"; to 4.

Outcomes