I have very weird problem with adding two values in xsl. XML:
<BODY>
<VALUE1>1.21</VALUE1>
<VALUE2>1.22</VALUE2>
</BODY>
XSL:
<sum><xsl:value-of select='BODY/VALUE1+BODY/VALUE2'/></sum>
Result:
<sum>2.4299999999999997</sum>
Why result is not 2.43 ? Maybe I should add in another way.
When VALUE1=1.31 and VALUE2=1.23 result is good.