>if myval<7 >replace myval with int(myval) && I want to remove values to the right of the decimal >else >? 'myval exceeds 7' >endif >>
>? IIF(myval<7,Replace myval with Int(myval), 'Retained myval' ) >IIF() is function, REPLACE is command. You cannot have command inside inline function.