This "new" problem is just a very old one.
See [U] 13.10 and
FAQ . . . . . . . . . . . . . . . . . . . Results of the mod(x,y) function
2/03 Why does the mod(x,y) function sometimes give
puzzling results?
Why is mod(0.3,0.1) not equal to 0?
http://www.stata.com/support/faqs/data/mod.html
Nick
[email protected]
Rafal Raciborski
> it is not a bug, try
>
> count if k==float(0.4)
>
> this is explained somewhere on the stata webpage.
*
* 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/