xsl-list
[Top] [All Lists]

Re: [xsl] Creating a cheque type format using format-number (e.g. $********123.45CR)`

2006-06-08 01:41:21
How about:

format-number(124456.78, '$*******###,###.00CR')



On 6/8/06, Ian & Chris <bakeric(_at_)optusnet(_dot_)com(_dot_)au> wrote:
Hi all

I was wondering if anybody has been able to create the following type of
string using format-number()

$*******123,456.78

The xml tag will look like:

<myTag> 123456.78 </myTag>

I have tried many different methods, but none seem to work, any ideas?

The format number can be done, without the '*' as follows:

Format-number(124456.78, '$###,.00, $###,.00CR')

But I cannot get it to place a set of ******, at the front of the number,
any ideas????, **** cannot have any ',' commas….

Any help would be appreciated,

Ian….


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

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