I am using the interim build of Xalan from 21/10 on HP-UX and found this strange behavior:

XML:
<?xml version="1.0"?>
<Root Amount="2519.30">abc</Root>

XSL:
...
<xsl:template match="Root">
  <xsl:element name="Amount">
    <xsl:value-of select="@Amount*100"/>
  </xsl:element>
</xsl:template>

Result:
<?xml version="1.0" encoding="UTF-8"?>
<Amount>251930.00000000003</Amount>

Any idea?

Cheers, Miro.

Reply via email to