OT: bc

Kenneth Brody kenbrody at bestweb.net
Sat Jan 21 06:51:50 PST 2006


Quoting John Esak (Fri, 20 Jan 2006 23:20:09 -0500):

> > | I like to check figures in filePro with bc and it's impossible.
> > I've scanned
> > | the man page, of course, but didn't see anything about rounding.
> >
> > Doesn't your 'bc' man page say what mine does, i.e.:
> >
> >         In every case where digits are discarded truncation is
> >         performed without rounding.
>
> JP,
>
> Are you being serious. Of course, I saw this... how in the hell does
> that help with my question of "How do you *get* bc to round like
> filePro and every other computer application I've ever seen....

I think it "helps" with your question just fine.  The docs specifically
say "bc doesn't round, period", so the answer to your question is "you
can't get bc to round".

> Are you trying to tell me that you are not surprised that bc can't
> "round"??

I don't know if he was surprised or not.  He was just pointing out
the fact that it doesn't.

[...]

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list