On 30/06/2011 04:21, dba03 wrote:
> <xsl:variable name ="xCenter">
> <xsl:value-of select ="a:off/@x + (a:ext/@cx div 2)"/>
> The value of variable "xCenter" is 4.572E6, but I need it to do numeric operations.
> How to avoid scientific notation?
> I can resolve it by using "format-number", but there are too many which need adding "format-number".
> Is there any setting to simply avoid scientific notation?
Sorry, but there's no way to change the default conversion rules (which
are defined in the XPath 2.0 specification). The format-number()
function is the only solution I can think of.