From | Richard Williams <[email protected]> |
To | [email protected], <[email protected]> |
Subject | RE: st: help on round function |
Date | Sat, 10 Dec 2005 17:23:04 -0500 |
At 04:24 PM 12/10/2005, [email protected] wrote:
Are you sure that 8.575 isn't really 8.57499999 or something like that? When I doFred, I got that. But if I have a variable X 8.575 7.995 10.324 and I do: gen y =round(x,.01), I get Y not Y 8.57 8.58 7.99 8.00 10.32 10.32 what I need. What am I doing wrong?
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |