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.
you cannot. you will have to maintain the value as a string if you want it to remain that way.