yuanfen860913 发表于 2013-1-31 11:49:45

shell 实现浮点运算

# echo "5/3"|bc -l
1.66666666666666666666
# echo "scale=3;5/3"|bc -l
1.666
<div class="tit">linux shell浮点计算
页: [1]
查看完整版本: shell 实现浮点运算