It's because there is no round function there. Just use the one Spirit posted

Well and here is the ceil function 4 you wink
Code:
int ceil(var x) { return (int)(x+1); }