[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: list a variable
This is my second question.
I have look at the manual for a long time,and try different variable format,
but, it seems not work.
Suppose I have a variable with the following numbers:
That means, the entry of this variable is a huge number.
However, when I ask Stata to list this variable.
Stata always return:
obs1 1.234..e17 instead of its original format.
I tried to open the data editor, and see whether I can see it's original format.
But, the value shown on data editor is the same: 1.234e17.
Then, I turn to reformat this variable to be a string variable, and ask Stata
to list it.
Therefore, I type:
gen str18 y=string(x)
and list variable y
But, the y contains:
I am just wondering whether there is any method that can solve this situation?
Thank you very much and have a nice day
* For searches and help try: