+ Reply to Thread
Results 1 to 4 of 4

Signed Binary Decimal (B16) Conversion

Hybrid View

  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    Somewhere, Rainbow
    MS-Off Ver
    Excel 2007
    Posts
    20

    Signed Binary Decimal (B16) Conversion

    Hello,

    I'm trying to convert a range of decimal numbers from 0 to 255.9928 to hexadecimal using the Signed Binary Decimal conversion (meaning that the first bit represents the sign of the number, the next 8 bits provides the integer, then the remaining 7 bits represents the fraction).

    For example, my input of 255.9928 should product the hex value of 7FE3.

    Any thoughts/suggestions?

    Respectfully,
    Talamon
    Last edited by Talamon; 04-11-2014 at 11:52 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Signed Binary Decimal (B16) Conversion

    a
    b
    c
    1
    -256.0000000
    8000 b1: =right(dec2hex(a1*128, 4), 4)
    2
    -0.0078125
    ffff
    3
    0.0000000
    0000
    4
    0.0078125
    0001
    5
    255.9921875
    7fff
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-13-2014
    Location
    Somewhere, Rainbow
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Signed Binary Decimal (B16) Conversion

    Thanks shg!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Signed Binary Decimal (B16) Conversion

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. decimal to 16 bits binary conversion in Excel?
    By xcgames in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2019, 09:15 AM
  2. [SOLVED] Binary (concatenated from Decimal) to Hex Conversion Error
    By Talamon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-19-2014, 12:19 PM
  3. [SOLVED] Signed Binary Angle (16 or 32 bit) converted into Hexadecimal
    By Talamon in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-18-2014, 04:53 PM
  4. binary conversion
    By binaryuser in forum Excel General
    Replies: 1
    Last Post: 09-08-2006, 09:58 AM
  5. [SOLVED] decimal to binary conversion
    By tam in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1