MATH int values

Hey,

Quick question…

I want an integer counter so that when it gets to 3 it hangs up…

timeoutCount=0
...
timeoutCount=${MATH(${timeoutCount}+1,int)};

The problem with the above code is that timeoutCount is always set to X.00000 rather than just X.

Does anyone know what’s going on here?