Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Mathematical accuracy in xpath Mathematical accuracy in xpathTo: NULL Date: 6/16/2009 5:30:00 AM If I execute the following xslt I get the result given below.
I'm no mathematician but 100 times 2500.01 does not equal 250001.00000000003
I can find very little about this on the web and no suggested fixes or
solutions.
This is causing me a big problem as my entire architecture hangs around xslt.
Using VS2008 and have IE8 installed.
Can anyone help? Please?
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/">
<res>
<xsl:value-of select="2500.01 * 100"/>
</res>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="utf-8"?>
<res>250001.00000000003</res>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
