what did you do that you managed to get a negative result?

you'll always get a positive result. sure, it's possible that you get a result which is below zero, and since your result is an integer (and because of that doesn't contain decimal points) it will be rounded to zero, but a negative result?

either your original number was negative, or the number by which you were dividing it was negative, otherwise, JeffGrigg is right:

32/10 = 3, not -3