fix bc behavior

This commit is contained in:
ida schmidt 2023-04-26 01:28:44 -07:00
parent 771a943c55
commit c184cd019a

View file

@ -26,7 +26,7 @@ while getopts ":hf:" option; do
done
function panarea {
AREA=$(echo "3.1415926535*($DIAM/2)^2" | bc)
AREA=$(echo "3.1415926535*($DIAM/2)^2" | bc -l)
SIZE=$(echo $AREA*$FSI | bc)
calcratio
}