Re: [xsl] format-number round is not desired

Subject: Re: [xsl] format-number round is not desired
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 19 Apr 2012 12:59:55 +0100
On 19 April 2012 12:39, henry human <henry_human@xxxxxxxx> wrote:
> Hello
> 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)

floor() ?

--
Andrew Welch
http://andrewjwelch.com

Current Thread