Visual Basic: Pad a number with leading zeroes

Platform:Visual Basic
Task:Pad a number with leading zeroes
Discussion:
You need to pad a number with leading zeroes.
Example:
int number = 1;
string paddedNumber = number.ToString("00");
Back to Index