运维网's Archiver
论坛
›
Shell/Powershell
› shell中小数的运算
k668
发表于 2018-8-23 09:33:25
shell中小数的运算
如果expr $results1 \>10的值是1,则前面的数大,否则后面的数字较大。 if [ $x -eq 0 ]
then
echo -n "results1.value "
echo $results1*1000|bc
fi
页:
[1]
查看完整版本:
shell中小数的运算