Module Example Sub Main() Dim value As Integer value = 123456789 Console.WriteLine(value.ToString("X")) End SubEnd Module