Subject: Re: [xsl] Format-Number trailing Minus Sign From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Tue, 27 Nov 2007 11:40:56 +0000 |
On 27/11/2007, Colin Adams <colinpauladams@xxxxxxxxxxxxxx> wrote: > Put the minus sign at the end of the picture string. > (I haven't tried this, but I can't see why it wouldn't work). I just did.... and it does :) You need to use a pattern separator though and then specify a trailing minus for the negative pattern, eg: format-number(-1, '0;0-') gives 1- (where ; is the default pattern separator) -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Format-Number trailing Mi, Colin Adams | Thread | Re: [xsl] Format-Number trailing Mi, Matt |
Re: [xsl] Format-Number trailing Mi, Colin Adams | Date | Re: [xsl] Format-Number trailing Mi, Matt |
Month |