predseda
Newcomer
255(dec) = FF(hex) = 11111111(BIN)
I have a decimal number (Dim i As Byte / Integer) an i need to convert it to string and transform it to hex or binary.
I know how to do this manually, but i think in .NET are implemented instructions for tihs.
Example:
Dim i As Byte = 255
Dim str As String
str = i.ConvertToHEX ' How to do this?
Console.WriteLine str
----
Output : FF
Thanx
predseda
I have a decimal number (Dim i As Byte / Integer) an i need to convert it to string and transform it to hex or binary.
I know how to do this manually, but i think in .NET are implemented instructions for tihs.
Example:
Dim i As Byte = 255
Dim str As String
str = i.ConvertToHEX ' How to do this?
Console.WriteLine str
----
Output : FF
Thanx
predseda