Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP - Negative in Octal And HexaDecimal

 
Saurabh Sahay
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can anyone please mention the basics of how to represent negative numbers in Octal and Hexadecimal Format.
regards
 
Tom Blough
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Octal and Hex are just shorthand representations of binary numbers. Research "twos complement" for representing binary numbers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic