shell整数和小数,小数和小数之间的计算
shell整数和小数,小数和小数之间的计算
#!/bin/bash a=5.01 b=5.1 if [ `expr $a \> $b` -eq 0 ];then echo $b is bigger else echo $a is bigger fi
shell整数和小数,小数和小数之间的计算
#!/bin/bash a=5.01 b=5.1 if [ `expr $a \> $b` -eq 0 ];then echo $b is bigger else echo $a is bigger fi