Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What sort of number system is this: 0x80 for example?

0 views
Skip to first unread message

Jason Alan Smith

unread,
Jan 30, 2000, 3:00:00 AM1/30/00
to
I've seen numbers written like this and was curious to know what kind of
system this is and what that 0x indicates. Thanks for any tips.

Jason Alan Smith
mailto:bsm...@kscable.com

Jack Klein

unread,
Jan 30, 2000, 3:00:00 AM1/30/00
to
On Sun, 30 Jan 2000 04:23:49 GMT, "Jason Alan Smith"
<bsm...@kscable.com> wrote in comp.programming:

The "0x" or "0X" notation was originated by C, and copied by C++ (and
maybe Java). It is used to indicate that a numerical value is
expressed in hexadecimal.

i.e. 0x80 = 128.

Jack Klein
--
Home: http://jackklein.home.att.net

0 new messages