Hi Michael
No, the $var is a number and not a string
??
----- Ursprüngliche Message -----
Von: Michel Hendriksen <michel(_dot_)hendriksen(_at_)42(_dot_)nl>
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
CC:
Gesendet: 13:42 Donnerstag, 19.April 2012
Betreff: Re: [xsl] format-number round is not desired
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(_at_)yahoo(_dot_)de>
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)
Thanks
Hen
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--