Hi all,
so i have a numeric variable with a lot of values, that are decimal:
4,626276
5,162374
5,612217
etc.
The lowest value is 4,626276 and the highest value is 79,43243.
Now, I want to reverse the variable so that it runs from highest to lowest (so that 79,43243 is the first value and 4,626276 the last value). I did it with the revrs command: revrs mcs_1st (mcs_1st is the name of the variable).
But now the problem: This isn't actually reversing the variable. So the new variable is the same as the old one.
So my question is? How can I reverse the variable without revrs? Is there a way?
I hope you understand what I mean.
0 Response to Reverse a numeric variable
Post a Comment