A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
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
negative hexadecimal and octal
basic question about binary, oct and Hex
decimal ->octal & decimal ->hexadecimal
Negative octal or hexadecimal
conversion of negative numbers to octal/hex
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014