I need something that I can call in a script...bc would be kind of hard to
do, I think....

Thanks,

Anthony
----- Original Message -----
From: "Johannes Eriksson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 18, 2001 11:19 PM
Subject: Re: OT: EXPR


> * 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



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

Reply via email to