I tried int.parse, and convert class to convert a string to int.
int.parse,
While I\'m converting. I\'m losing the 0 in the beginning which i don\'t want.
myNumber.ToString("D5");
//D represents 'Decimal', and 5 is the specified amount of digits you want the number to be always. This will pad your value with zeroes until it reaches 5 digits.
//D