GNU Info

Info Node: (sh-utils.info)Numeric expressions

(sh-utils.info)Numeric expressions


Next: Relations for expr Prev: String expressions Up: expr invocation
Enter node , (file) or (file)node

Numeric expressions
-------------------

   `expr' supports the usual numeric operators, in order of increasing
precedence.  The string operators (previous section) have lower
precedence, the connectives (next section) have higher.

`+ -'
     Addition and subtraction.  Both arguments are converted to numbers;
     an error occurs if this cannot be done.

`* / %'
     Multiplication, division, remainder.  Both arguments are converted
     to numbers; an error occurs if this cannot be done.


automatically generated by info2www version 1.2.2.9