greenZ

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年3月13日

摘要: 【shell】整数运算,小数运算 1.整数运算 【demo01】expr typeset x=10 typeset y=2 n1=`expr $x + $y` n2=`expr $x - $y` n3=`expr $x \* $y` #使用expr时 符号* 需要转义 n4=`expr $x / $ 阅读全文
posted @ 2019-03-13 17:02 绿Z 阅读(4001) 评论(0) 推荐(0) 编辑