Dear  all,

 

I have come across a strange behavior of the %/% operator, and I wasn't
sure if this was intended.

 

i.e. 

a <- 1.2

b <- 1.0

(a-b) %/% 0.1  results in 1?

Whereas

0.2 %/% 0.1 results in 2.

 

Am I missing something obvious here?  It seems to be consistent up to R
2.6.0 running in WinXP (haven't upgraded yet).

 

Best,

 

Ken



This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
	[[alternative HTML version deleted]]

