Davy B schrieb:
> What is the tidiest way to convert an int32 to a
four-digit hex? I can
> convert it to hex easily using
ToString("X"), but if x=15 it converts
> to "F". I want to convert it to
"000F".
ToString("X4")
*hth*
P_hil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|