shell浮点数比较 发表于: 2021-09-24 2021-09-24 分类: SRE 标签: bash, https, shell rewards=2.5 old_rewards=2.6 if [ `echo "$rewards == $old_rewards" |bc` -eq 1 ]; then echo 123 fi 文章导航 前一页 上一篇: kubernetes从文件创建secret后一页 下一篇: shell判断变量是否为空 dn 259RSS订阅