GNU Info

Info Node: (zsh.info)Arithmetic Expansion

(zsh.info)Arithmetic Expansion


Next: Brace Expansion Prev: Command Substitution Up: Expansion
Enter node , (file) or (file)node

Arithmetic Expansion
====================

A string of the form `$[EXP]' or `$((EXP))' is substituted with the
value of the arithmetic expression EXP.  EXP is subjected to _parameter
expansion_, _command substitution_ and _arithmetic expansion_ before it
is evaluated.  See Note: Arithmetic Evaluation.


automatically generated by info2www version 1.2.2.9