title: Calculating Percentage in XSL 1.0
body: <p>I have my XML - </p>
  
  <pre><code>&lt;FS&gt;
      &lt;Percent&gt;0,00&lt;/Percent&gt;     
      &lt;Amount ACI="US"&gt;3212,62&lt;/Amount&gt;
  &lt;/FS&gt;
  </code></pre>
  
  <p>I want to consider both elements and calculate percentage with  &amp; 
  with my XSL 1.0</p>
  
  <p>How can this help - </p>
  
  <pre><code>&lt;xsl:variable name="Discount" select="Percent"/&gt;
  &lt;xsl:variable name="Amount" select="Amount"/&gt;
  &lt;xsl:value-of select="normalize-space($Discount div 100 * $Amount)"/&gt; 
  </code></pre>
  
  <p>This is giving me NaN value. Please suggest.</p>