Dear Statalist users,
I have got a variable which contains different nummeric values of different lengths which I want to change into a nummeric variable that has 1 digit before the comma and the rest after the comma
For example: var [1111; 2222; 333; 44; 5; 6666666]
I'd like to change this variable to [1.111; 2.222; 3.33; 4.4; 5; 6.666666]
Does anyone know how I can accomplish this?
Thanks in advance,
Emilio
I have got a variable which contains different nummeric values of different lengths which I want to change into a nummeric variable that has 1 digit before the comma and the rest after the comma
For example: var [1111; 2222; 333; 44; 5; 6666666]
I'd like to change this variable to [1.111; 2.222; 3.33; 4.4; 5; 6.666666]
Does anyone know how I can accomplish this?
Thanks in advance,
Emilio
Comment