$ echo "100 / 123" | bc -l .81300813008130081300
or ...
$ echo "scale=4; 100 / 123" | bc -l .8130
Whaddya know, writing all that map server leeching code came in handy. :p
*munch* - Rog
Andrew Wilson wrote:
I was wondering if anyone knew of a command that would display the sum of a mathamatical equation that would be less than 1, eg .6722 etc.
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
