I have an issue when I want to convert string into integer. I get text from a Mainframe and the text is stock into a string variable.
I have my str_var as str_FirstPg = “001”
I want to convert into int and I did like this :
CInt(str_FirstPg), it returns 1. But I need to have the final result as 001.
How can I keep the 00, when I convert into an integer ?
Any idea, please ?
Thank you all !