Module Example Sub Main() Dim value As Integer value = &h2045e Console.WriteLine(value.ToString("X2")) End SubEnd Module