[R] -1.1 - 0.1 + 1.2 is NOT null! Why?

Rolf Turner rolf.turner at xtra.co.nz
Tue Jul 10 23:13:10 CEST 2012



In addition to taking cognisance of Richard Heiberger's reply you
should also learn to distinguish between the concept of "null" and
"zero".  They are not at all the same thing.

     cheers,

         Rolf Turner

On 11/07/12 08:17, ollestrat wrote:
> Hello,
>
> I fear its a stupid question,..but here it is:
>
> If I do this simple calculation with the R  console, I surprisingly do not
> get a zero. Why?
>
>   -1.1-0.1+1.2
> [1] -2.220446e-16
>
>
> greetings, Ole



More information about the R-help mailing list