XSLT subtraction -


i have problem following xsl code.

it's simple subtraction, strange. know can use format-number, can explain me why 0.4299999999999997 instead of expected 0.43?

<xsl:template match="/">     <root>         <xsl:value-of select="36.98 - 36.55"></xsl:value-of>     </root> </xsl:template> 

read floating - point arithmetic:

http://en.wikipedia.org/wiki/floating_point


Comments

Popular posts from this blog

C++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - malformed header from script index.py Bad header -