OT: bc

John Esak john at valar.com
Fri Jan 20 20:20:09 PST 2006


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

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....  The bc program can do
miracles, it has while loops, in-bases, out-bases... more *stuff* than could
ever be believed. Are you trying to tell me that you are not surprised that
bc can't "round"??  I'll tell you... this program was written by one hell of
a nerd whoever he is.... someone who can program in every math function
known to man, but somehow just loses the ability to use the program with
"money". There is no program in the world that deals with money that
truncates. They either round up or down, sometimes being electable. A
math/numbers program that simply truncates and that's it... pretty amazing,
I think.

JE



More information about the Filepro-list mailing list