mod for void to function for equal price and change to decimal