CultureInfo("en-us") and Integer format: D6
Imports System.Globalization Module Example Sub Main() Dim integral As Integer = 8395 Console.WriteLine("D: {0}", integral.ToString("D6")) ' Displays "D: 008395" End Sub End Module