echo"scale=2; 49.09+398.50+474.00+88.50+517.00+454.50+10.62+10.63+10.95+11.30+12.56+13.20+14.38+21.63+22.30+24.85+28.68+63.51+65.01+103.21+128.73+250.86+5+5+25.00+155.10+23.00+24.00"| bc
3011.11
其他(服务器上架及线材购买)
1
echo"scale=2; 1365.00+3430.00"| bc
4795.0
出差补助
1
echo"600"
600
合计
1
2
3
4
5
6
7
8
bc <<'EOF'
scale=2
total = 1365.00+3430.00 # 服务器上架及线材购买
total += 4919.65+368.00 # 差旅费
total += 49.09+398.50+474.00+88.50+517.00+454.50+10.62+10.63+10.95+11.30+12.56+13.20+14.38+21.63+22.30+24.85+28.68+63.51+65.01+103.21+128.73+250.86+5+5+25.00+155.10+23.00+24.00 # 交通费
total += 600 # 出差补助
total
EOF