Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
HELP - Negative in Octal And HexaDecimal
Joined: Apr 23, 2004
Apr 23, 2004 13:25:00
Can anyone please mention the basics of how to represent negative numbers in Octal and Hexadecimal Format.
Joined: Jul 31, 2003
Apr 23, 2004 14:54:00
Octal and Hex are just shorthand representations of binary numbers. Research "twos complement" for representing binary numbers.
Tom Blough<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Cum catapultae proscriptae erunt tum soli proscripti catapultas habebunt.<hr></blockquote>
I agree. Here's the link:
subject: HELP - Negative in Octal And HexaDecimal
conversion of negative numbers to octal/hex
negative hexadecimal and octal
Negative octal or hexadecimal
decimal ->octal & decimal ->hexadecimal
basic question about binary, oct and Hex
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015