Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: avoiding rounding when using -outsheet-


From   Dean Yang <[email protected]>
To   [email protected]
Subject   st: avoiding rounding when using -outsheet-
Date   Fri, 07 Jun 2002 12:27:49 -0400

Can anyone tell me how to keep my data from being rounded to 3 significant figures when exporting my data from Stata using -outsheet-?

For example, I have an item of data which is 531,123,435 (531 million, 123 thousand, and 435). When I use -outsheet- to create an ASCII file of the data, this data point becomes 531,000,000 in the ASCII file.

The variable storage type is numeric (double).

What is going on? How can I keep the data from being rounded without exporting the data as a string variable?

Thanks in advance,
Dean Yang
________________________
Dean Yang
Ph.D. Candidate, Economics
Harvard University
email [email protected]

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index