Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: variable format
From
"Andreas Drichoutis" <[email protected]>
To
<[email protected]>
Subject
st: variable format
Date
Thu, 10 Mar 2011 20:27:30 +0200
Dear all,
Some variables in my dataset are stored as float %8.0g . I need to have
exactly 2 decimals for these variables, however Stata formats these with
more decimals e.g., it stores the value of 8.77 as 8.7700005.
How do I convert variables to 2 decimals only.
Best,
Andreas Drichoutis
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/