I tried int.parse,
and convert class to convert a string to int.
While I\'m converting. I\'m losing the 0 in the beginning which i don\'t want.
If you are just converting to int to test the value, keep the original data around and use the string value of it when you want the leading zeor. If you require the integer to have zero padding after mathematically working with it you will have to format it with sprintf or the like whenever you output it.