You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Vincent Hennebert <vh...@gmail.com> on 2009/03/03 12:04:59 UTC

Re: How to format number which is less then 1

Hi,

This is a pure XSLT question. Try to ask it on the Mulberrytech XSL
list, it’s much more likely that you will get an answer there:
http://www.mulberrytech.com/xsl/xsl-list/index.html

HTH,
Vincent


Ashish Kulkarni wrote:
> HiI have a style sheet with following number format
> 
> <fo:block>
> <xsl:value-of
> select="format-number(PDPRCE, '###.###,0000', 'euro')" />
> </fo:block>
> 
> When PDPRCE is less then 1, it print ,7200 , but i want to print 0,7200
> 
> how can i do so, will the format type below will work
> 
> <fo:block>
> <xsl:value-of
> select="format-number(PDPRCE, '###.##0,0000', 'euro')" />
> </fo:block>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org