How come dividing something by 0 gets an error but dividing 0 by something just gives you 0?
to make it simple, if you have 0 cookies and x amount of people, then everyone gets 0 cookies. If you have x cookies and 0 people, there's noone there to split the cookies in the first place.