An accepted practice is to use NullIf() function in your variable to handle the sql division by zero issue.

SQL Code:
  1. MATHS / NULLIF(ENGLISH,0)

- kgc