Public Class Tester Public Shared Sub Main Dim intNumber As Integer = 12345 Console.WriteLine(intNumber.ToString("D10")) End SubEnd Class 0000012345