fixed explicit integer conversion in price inputting