[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Like expr, but for floating point numbers?



I  would like to  have something  like "expr",  but not  restricted to
integers. For example, I have a bunch of numbers:
99
100
99
98
100
. 
. 
. 

and I take their average with "awk". This gives me some floating point
number. Now I would like to  compare, in a shell script, this floating
point number to some  other floating point  number. How do  people do
this? -chris






Reply to: