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

RE: st: Possible error in the latest stata


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Possible error in the latest stata
Date   Tue, 17 Jan 2006 00:47:29 -0000

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index