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

st: code to round a continuous variable to the nearest 1/10th


From   Suzy <scott_788@wowway.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: code to round a continuous variable to the nearest 1/10th
Date   Fri, 19 Aug 2005 11:28:55 -0400

Dear Statalistmembers,

I am trying to replicate results from a SAS program and I need to know if there is a simple code to round to the nearest 10th for a continuous variable.

Thank you!
Suzy
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index