number calculation in bash
computation efficiency rank:
(()) == let > expr > bc
let is bash buildin command, which can execute efficiently
bc is system command, drain memory and low efficiency.
expr can only do integer computation.
bc can do float computation.
03 August 2013