Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2014
    Posts
    3

    Unanswered: Hex to Signed Char

    How to convert 0xFF to -1?

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    effectively you want to convert a hex value to a 16 bit signed integer?

    you could try:-
    use the conv function to convert from hex to decimal, then subtract the result from 256
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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