OS X Calculator

Discussion in 'macOS' started by starrin, Apr 3, 2005.

  1. starrin macrumors member

    Joined:
    Aug 22, 2004
    #1
    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
     
  2. grapes911 Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
  3. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  4. Loge macrumors 68020

    Loge

    Joined:
    Jun 24, 2004
    Location:
    England
    #4
    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
     
  5. starrin thread starter macrumors member

    Joined:
    Aug 22, 2004
    #5
    Hi there,

    Thanks ... this will help ... unfortunately no floating point ... but i will make do :)
     
  6. starrin thread starter macrumors member

    Joined:
    Aug 22, 2004
    #6
    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
     
  7. starrin thread starter macrumors member

    Joined:
    Aug 22, 2004
    #7
    Thanks ... Google is really cool ... still no floating point ... I will do these floating points by hand
     
  8. Loge macrumors 68020

    Loge

    Joined:
    Jun 24, 2004
    Location:
    England
    #8
    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.
     
  9. Vanilla macrumors 6502a

    Joined:
    Mar 19, 2002
    Location:
    Atlanta, GA
    #9
    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
     
  10. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #10

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

Share This Page