[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] format-number issue


Subject: Re: [xsl] format-number issue
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Tue, 14 Feb 2012 11:35:26 +0100

On 14/02/2012, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> On 14/02/2012 07:41, henry human wrote:
>> Hi guys
>> I have taxAmount element which has different formats :
>> a)<TaxAmount>247.09</TaxAmount>
>> b)<TaxAmount>247.9</TaxAmount>
>> c)<TaxAmount>24</TaxAmount>
>> The result shold be :
>> a)0000024709
>> b)0000002479
>> c)0000000024
>>
> I find it hard to imagine how you arrived at such a weird design

It is yet another way to keep tax amounts small. A factor of 1/10 or
1/100 is not to be despised :-)
-W


Current Thread