xsl-list
[Top] [All Lists]

Re: [xsl] question regarding the formatting of a number

2006-04-11 06:50:11
On 4/11/06, Sascha Ohler <sas0903(_at_)gmail(_dot_)com> wrote:
I'm new to XSL and have come across the following issue. I'm trying to
format this number 54287 to display as $542.87 and seem unable to get it
figured out.
Any suggestions?

How about:

format-number(54287 div 100, '$.00')

cheers
andrew

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>