Hi R Gurus, I am trying to figure out what is going on here.
> a <- 68.08 > b <- a-1.55 > a-b [1] 1.55 > a-b == 1.55 [1] FALSE > round(a-b,2) == 1.55 [1] TRUE > round(a-b,15) == 1.55 [1] FALSE Why should (a - b) == 1.55 fail when in fact b has been defined to be a - 1.55? Is this a precision issue? How do i correct this? Alex _________________________________________________________________ Hotmail: Free, trusted and rich email service. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.