title: XPath outputs .07 * 100 * 100 as 700.00000000000011 why?
body: <p>I have noticed some strange precision behaviour that I cannot understand, I have some XML:</p>
  
  <pre><code>&lt;CLD&gt;
      &lt;UCRV&gt;
          &lt;UCR1&gt;.07&lt;/UCR1&gt;
      &lt;/UCRV&gt;
  &lt;/CLD&gt;
  </code></pre>
  
  <p>And in an XSLT file, I am selecting the value as pence (or 100 pence as it seems, I don't know why but it's what the customer wants!) as:</p>
  
  <pre><code>&lt;xsl:value-of select="./s0:CLD/s0:UCRV/s0:UCR1/text() * 100 * 100"/&gt;
  </code></pre>
  
  <p>But this is output as 700.00000000000011 The data type is xsd:Decimal. Is there some default precisioning going on here? I can simply round the number but I just wanted to understand it a bit better.</p>
  
  <p>Thanks</p>