This is the third way to do arithmetic operations. First we looked at 'let' and 'expr' commands.
Now we use $ sign with two brackets.
example1:
echo $(( 5 * 6))
example2:
echo $(($((4 * 5)) + 300 ))
Tuesday, August 19, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment