looking for a program

der.hans PLUGd@LuftHans.com
Tue, 6 Feb 2001 23:30:01 -0700 (MST)


Am 06. Feb, 2001 schwäzte Lucas Vogel so:

> I'm looking for a program that will take either a decimal, hex or octal
> input and give me its decimal, hex or octal output. Can anyone tell me what
> I'm looking for? 

"bc converts constants into internal decimal numbers using the current
input base, specified by the variable ibase. (There is an exception in
functions.)  The legal values of ibase are 2 through 16."

I've done it all (poorly) in my head for the few things I've needed for
years, but at Mot they used to use bc from the command line :).

ciao,

der.hans
-- 
#  der.hans@LuftHans.com   home.pages.de/~lufthans/   www.YourCompanyHere.net ;-)
#  When I work, I work hard. When I play, I play hard.
#  When I sit, I sleep. - Embe Kugler