Converting Numbers in Floating Point Notation
The results of calculations in EMML using XPath expressions can end up in floating point notation, such as 1.625E10. To convert floating point numbers back to decimals, simply use the xs:decimal XPath function. For example:
...
<assign fromexpr="$total * $factor" outputvariable="$largeNumber"/>
<if condition="contains(string($largeNumber,’E’))">
<assign fromexpr="xs:decimal($largeNumber)" outputvariable="$largeNumber"/>
</if>
...