摘要: [root@yjb ~]# more test.sh #!/bin/sh str1="2.1589872102e+06" echo $str1| awk '{printf("%d\n",$0+0.5)}' #cacti流量(M)数字转换成科学计数 M=A*1000*1000/8 阅读全文
posted @ 2019-08-17 12:07 邓聪聪 阅读(231) 评论(0) 推荐(0) 编辑