Compare the integer values for the pricing

otherwise it don't work good