if an item costs zero amount, then there is a possibility of divide by zero exception