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

Re: st: help on round function


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   Re: st: help on round function
Date   Sat, 10 Dec 2005 14:44:06 -0600

At 01:26 PM 12/10/2005, you wrote:
Hello List,

How do I use the round function to round off 8.755 to 8.76, 8.754 to
8.75?

. di round(8.755,.01)
8.76

. di round(8.754 ,.01)
8.75

Fred Wolfe

Thanks,
Pinaki Mitra

*
*   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/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
[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