fix bc behavior
This commit is contained in:
parent
771a943c55
commit
c184cd019a
1 changed files with 1 additions and 1 deletions
2
pizza.sh
2
pizza.sh
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue