> > for i in `seq 0 10`; > > do > > SUM=`echo $SUM+${ARR[$i]}|bc` > > done > > SUM=$(($SUM + ${ARR[$i]})) > i need 'bc' to work, cause i need float values. is there any other way to have float values in shell variables. parvez -- Walk softly and carry a big stick. -- Theodore Roosevelt