I read price from user input. When i multiply the input with int like this
T=\"$((PRICE*QTY))\"|bc; gives line 272: 12.
\"$((PRICE*QTY))\"|bc
this works:
PRICE=1.1 QTY=21 RES=$(echo "scale=4; $PRICE*$QTY" | bc) echo $RES