Given a string strTotal (all numerical values).
I need a mechanism to do the following.
1- Determine the number of digits in strTotal
2- If there are less then 2 (digits 0 to 9) then pad with a 0 to form 2-Digit Values like 00, 01, 02, 03, , 08, 09.
Else leave as-is.
Any clues?
I need a mechanism to do the following.
1- Determine the number of digits in strTotal
2- If there are less then 2 (digits 0 to 9) then pad with a 0 to form 2-Digit Values like 00, 01, 02, 03, , 08, 09.
Else leave as-is.
Any clues?