Yep! You are right I am going through it right now
  Thanks
  W

"Austin, Matt" <maustin@amgen.com> wrote:
  I believe this is a FAQ.

Examine:

> format((5.05-floor(5))*100, nsmall=16)
[1] "4.9999999999999822"

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch]On Behalf Of Werner Bier
> Sent: Tuesday, November 29, 2005 3:35 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] floor()
> 
> 
> Dear All,
> 
> Is this right? 
> 
> > floor((5.05-floor(5))*100)
> [1] 4
> 
> I would expect 5, or am I wrong?
> 
> Thanks and regards,
> W
> 
> 
> ---------------------------------
> 
> [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
  


		
---------------------------------

	[[alternative HTML version deleted]]


