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:
Comments
Post a Comment