This one time, at band camp, Andrew Wilson wrote:
>
>Love fun happiness...
>
>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.
>
>I.e 
>
>expr 100 / 123  would return the result of 0 but i need a way to display the true 
>value of it.
>
>I could of sworn expr was returning results less than 1 for me before, but im sick.. 
>its friday.. 
>and.. well... i have half a cookie to give...

shell only does integer arithmetic, so type in "python" and enter your
expression.

python is the best commandline calculator.

-- 
[EMAIL PROTECTED]                           http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to