* Anthony Capone [Sun, Feb 18, 2001 at 09:53:55PM -0500]:
> How do I get EXPR do display more than one decimal place? So, for example if
> I have the expression:
> 
> expr 33 / 9
> right now the answer is 3
> it should be 3.66666667
> how I tell expr to diplay 3 decimal places??
> 
> Thanks again,
> 
> Anthony
> 

Try bc instead. You'll have to set the scale variable to the desired
number of decimals, though.

Python in interactive mode makes as a great calculcator too (it even
handles complex numbers).

-- 
Johannes Eriksson <[EMAIL PROTECTED]>
Computer Science, AA University



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to