have a bit of a blank. If I want to apply the following format (## ### ###) to an int value I would do this.
string myFormat = "## ### ###";
int myPin = 18146145;
Console.WriteLine(myPin.ToString(myFormat)); //18 146 145
Issue however is with the values of say "02112321" to be formatted as "02 112 321" applying this exact formatting "## ### ###". the 0 in this case would fall away.