thegreatkarthik@yahoo.co.in (karthikeyan) writes:
> sir,
> how do arithmetic operations with floating point number shell script program
> expr only provide solution for whole numbers
> I want to add floating no
> moreover even the ulility like "bc" - calculator adds only whole
> numbers
You need to use an external program.
bc and dc are fine for really simple stuff.
awk (gawk) is good for medium level file scan - simple stuff on
command line, more complex things by script file. octave is good for
matrix math and can be operated by script files.
Other viable options include perl and clisp.
> Is there any utility to operate on floating point no
> Help me
> thks in adv
--
Johan KULLSTAM <kullstj-nn@comcast.net> sysengr