This is the line which is triggering the exception.

This code would throw the / zero exception if number = 0, so I suggest putting in place a simple if-statement to check for that possibility...