[XSL-LIST Mailing List Archive Home]
Re: [xsl] format-number round is not desired
Subject: Re: [xsl] format-number round is not desired|
From: Michel Hendriksen <michel.hendriksen@xxxxx>
Date: Thu, 19 Apr 2012 13:42:15 +0200
If (thing in) $var is a string you could use substring-before;-)
But there is probably a setting to do what you want.
On Thu, Apr 19, 2012 at 1:39 PM, henry human <henry_human@xxxxxxxx> wrote:
> I have following :
> $var = 206000.7625
> <xsl:value-of select="format-number($var ,'00000000000000;00000000000000')
> Output is 00000000206001
> As you see the output is rounded, what is not desired!
> This should be the output: 00000000206000
> (the same as in $var = 206000)