Just adding 0.1 to 0.2 in the language of your choice can be misleading because printing the number might just cut off the digits at some point.<p>Here&#x27;s an example using perl5:<p>perl -e &#x27;print 0.1+0.2&#x27; yields &#x27;0.3&#x27;, which looks OK, however<p>perl -e &#x27;print 0.1+0.2-0.3&#x27; reveals &#x27;5.55111512312578e-17&#x27;<p>So, it&#x27;s better to print the result of 0.1+0.2-0.3<p>For what its worth, perl6 passes this test with flying colours.