add parseFloat function to convert newPrice to decimal number