Re: what is Hex?

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Wed, 20 Feb 2008 13:43:01 -0500 (EST)

By the way, I think someone said that a hex number starts with 0.  I don't
think that's quite right.  C derived languages typically distinguish a hex
number with a preceding 0x, but the number is what follows the x.  Other
languages or contexts use different conventions to distinguish hex from
decimal, e.g., Visual Basic uses a preceding &h sequence and Unicode uses
a preceding u.  In other contexts, the number is understood to be hex, so
no additional prefix or suffix is needed.

Here is a long Wikipedia article on hex
http://en.wikipedia.org/wiki/Hexadecimal

Cheers,
Jamal
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: