Amani:
My example shows that it doesn't happen whenever you have 50 after the decimal point. My best guess is there are more decimals in your data than are displayed, leading you to believe that 8.750 is "exact". Try change the format and look at the variable again, like the example below:
format x %23.18f
list x in 1/10
HTH,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Siyam, Amani
Sent: donderdag 13 april 2006 15:35
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: RE: rounding in STATA
the values of x are exact ones and that
happens whenever you have "50" after the decimal you are cutting, for
example 0.*50, for the one decimal place, 0.**50 for the two decimal
place...etc.
*
* 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/