Hi there,
I have to combine the values of two numerical variables into a value in a new numerical variable, the new one will have 11 or 12 digits. For example, put 8497 and 2171205 together, the new numerical variable should show as 84972171205, but it shows as scientific notation, like 8.497e+10. I tried command "format var %12.0f", it turns out to be 84972167168.
I cannot do "destring" because this variable has to be numerical, and I do not need this variable get round up or down, because it just means ID number for an observation, is there any command can help me to show the whole number in the data editor without generating a new variable? Just replace the scientific notation with the whole number.
Thanks a lot!
Related Posts with showing the whole number for numerical variables
Help with Summary stats dummy variableHello all, I'm looking to see if there is a command that I can easily get the summary stats. BA_St…
clustered standard error with IVDear all I am estimating IV model. I would like to cluster at the village level We have only two vi…
how to count the distribution of industry in the sampleHi, I would like to have an overview of the industry distribution in my sample to see which industr…
Panel Data Question I could not find in any bookHi All, I have read several manuals on panel data econometrics but I never found the answer to thes…
Manual SE adjustment for 2SLS with clusteringHello, I'd like to manually estimate a two-stage least squares regression, first running the first …
Subscribe to:
Post Comments (Atom)
0 Response to showing the whole number for numerical variables
Post a Comment