On Fri, May 23 2008 18:33:47 +0100,
jean.stachler@... wrote:
...
> In the XML file, I see that the value of 45.00, but when it displays it
> displays like this 45 . I would like to display the full value of 45.00.
>
> This is the code that I have:
> <xsl:value-of select="format-number(FinalTotal, '###,###,###.##',
> 'usdollar')"/>
'###,###,###.00'
or
'###,###,##0.00' (if you want zero to be '0.00')
or
'$###,###,##0.00' (if you want zero to be '$0.00')
Regards,
Tony Graham
Tony.Graham@...
Director W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599
http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
xmlroff XSL Formatter
http://xmlroff.orgxslide Emacs mode
http://www.menteith.com/wiki/xslideUnicode: A Primer urn:isbn:0-7645-4625-2