Ubuntu pkgs
This commit is contained in:
@@ -25,4 +25,7 @@ elif [ $(echo "$price < 1" | bc -l) -eq 1 ]; then
|
||||
printf "%0.3f\n" "$price" | cut -c 3-
|
||||
elif [ $(echo "$price < 10" | bc -l) -eq 1 ]; then
|
||||
printf "%0.2f\n" "$price"
|
||||
elif [ $(echo "$price < 100" | bc -l) -eq 1 ]; then
|
||||
#printf "%0.2f\n" "$price"
|
||||
echo "$price" | awk '{print int($1*10)}'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user