How do I use the ToString method on an integer to display a 2-char
int i = 1; i.ToString() -> \"01\" instead of \"1\"
Thanks.
In order to ensure at least 2 digits are displayed use the "00" format string.
"00"
i.ToString("00");
Here is a handy reference guide for all of the different ways numeric strings can be formatted