Hi,
I have a string variable that I want to make numeric. Since the variable has not a value label, I used the destring command to generate the numeric variable but the issue is that the new variable get rid of the leading zeros. Exemple old variable is 023052 the new variable is 23052. But, I want to keep the leading zeros.
Thanks for helping with that.
I have a string variable that I want to make numeric. Since the variable has not a value label, I used the destring command to generate the numeric variable but the issue is that the new variable get rid of the leading zeros. Exemple old variable is 023052 the new variable is 23052. But, I want to keep the leading zeros.
Thanks for helping with that.
Comment