📜  如果浮点数小于 bash - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:32.835000             🧑  作者: Mango

代码示例1
#Just use bc command for operational calculation as follows:
if (( $(echo "$num1 > $num2" |bc -l) )); then
  …
fi