shortcircuit, if numerator is 0 return 0