shell里小数的大小比较
comnum() {
num1=$1
num2=$2
tmp1=${
num1#*\.}
if [ $num1 == $tmp1 ];then
tmp1=0
fi
tmp2=$
shell里小数的大小比较
comnum() {
num1=$1
num2=$2
tmp1=${
num1#*\.}
if [ $num1 == $tmp1 ];then
tmp1=0
fi
tmp2=$