Dear all,

Could someone please explain the following perculiarity?

 > 2 == 0.2/0.1
[1] TRUE
 > 3 == 0.3/0.1
[1] FALSE

Similarly,

floor(0.2/0.1) = 2
floor(0.3/0.1) = 2

Thank you,
Simon

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to