X
xlar54
Hey folks, how can I format a hex string to display as such:
instead of:
10
130
I want the leading values for a full 16 bit address as in:
0010
0130
etc.
Convert.ToString(16, 16) just gives me "10", when I really want "0010".
Id like to use a formatter if there is one for this, otherwise i have
to get into string manipulation, which Id rather avoid.
instead of:
10
130
I want the leading values for a full 16 bit address as in:
0010
0130
etc.
Convert.ToString(16, 16) just gives me "10", when I really want "0010".
Id like to use a formatter if there is one for this, otherwise i have
to get into string manipulation, which Id rather avoid.