G
Guest
Hi All,
I am trying to display an int as it' sHex representation, and looking on
MSDN it appears this can be done with .ToString("X").
This does work, but the example on MSDN
(http://msdn.microsoft.com/library/d...ef/html/frlrfsystemenumclasstostringtopic.asp)
the int is formatted with leading 0's to make an 8 char string, but when I
use it there are no leading 0's.
Does anyone know how I can get the leading 0's?
Thanks,
Steve
I am trying to display an int as it' sHex representation, and looking on
MSDN it appears this can be done with .ToString("X").
This does work, but the example on MSDN
(http://msdn.microsoft.com/library/d...ef/html/frlrfsystemenumclasstostringtopic.asp)
the int is formatted with leading 0's to make an 8 char string, but when I
use it there are no leading 0's.
Does anyone know how I can get the leading 0's?
Thanks,
Steve