Need help on the IF-statement

Yup. Should be the same number of opening and closing parens. You're missing a closing one at the end.

I'd still suggest that the test for not zero is unnecessary though.