如下,執行後變成負數...
[root@localhost control]# cat test
first=110000000000
second=111000000000
declare -i concurrent=($second-$first)*8/1024/180
echo "第二次$second"
echo "第一次$first"
declare -i test=($second-$first)
echo "$test"
echo "$concurrent"
[root@localhost control]# ./test
第二次111000000000
第一次110000000000
1000000000
-3200