OS X Calculator

starrin

macrumors member
Original poster
Aug 22, 2004
42
0
Hello,

Is there a simple way to conver octal numbers to binary or hex within the OS X calculator?

If not -- any suggestions?

Thanks,

Jason
 

Loge

macrumors 68030
Jun 24, 2004
2,683
1,151
England
From the menu, choose

View - Display Format - Octal

Key in your number in octal, then choose

View - Display Format - Hexadecimal/Binary

to display the number converted to Hex/Binary
 
Comment

starrin

macrumors member
Original poster
Aug 22, 2004
42
0
Hi there,

Thanks ... this will help ... unfortunately no floating point ... but i will make do :)
 
Comment

starrin

macrumors member
Original poster
Aug 22, 2004
42
0
Loge -- when I do that and type somthing into the calculator it is typing it in as decimal. and converting it on the fly.

so I guess I can only go decimal to octal or hex ... plus no floating point
 
Comment

starrin

macrumors member
Original poster
Aug 22, 2004
42
0
Thanks ... Google is really cool ... still no floating point ... I will do these floating points by hand
 
Comment

Loge

macrumors 68030
Jun 24, 2004
2,683
1,151
England
starrin said:
Loge -- when I do that and type somthing into the calculator it is typing it in as decimal. and converting it on the fly.

so I guess I can only go decimal to octal or hex ... plus no floating point
Yep, I hadn't noticed that :eek: . Looks like it's Google then.

Alternatively you could open a terminal window and run the unix program bc. Then just type the following to go from octal to hex.

ibase = 8
obase = 16

Then anything you type in will be interpreted as octal and converted to hex when you hit enter. Not sure if it can handle FP. Type quit when you're done. You can get the documentation by typing "man bc" from terminal.
 
Comment

Vanilla

macrumors 6502a
Mar 19, 2002
589
0
Atlanta, GA
If someone out there knows how to get the installed calculator to display results in edited format (e.g. "12345678.34" would be displayed "12,345,678.34") I would be eternally grateful. It's the one feature in Windows XP that I really miss.
Vanilla
 
Comment

superbovine

macrumors 68030
Nov 7, 2003
2,872
0
starrin said:
Thanks ... Google is really cool ... still no floating point ... I will do these floating points by hand

what about enter in the decimal then doing view->display->IEEE Hexadecimal?
 
Comment

Similar threads

  • sevoneone
3
Replies
3
Views
383
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.