R problem with fraction numerals Why do I have a non-zero result in the following calculation:


  0.11-0.1-0.01 
  [1] -5.20417e-18


Seems to be an easy and akward question, but I will be very greatful for any help!)
You can multiply with (X==)10/100/1000/... to size of precision you want. After performing multiplication to both numbers, Do your operation(-, /, ...) You will get the result.