cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <ccha...@agssa.net>
Subject Re: jxtemplate formatNumber question
Date Tue, 01 Feb 2005 16:23:02 GMT

Carlos Chávez Escribio :-)
>
> Thorsten Scherler Escribio :-)
>> Hello list,
>>
>> I am trying to format some numbers, but it seems that I make an error.
>>
>> I would like to have e.g. 30,00¤ or 56,60¤. I mean I want 2 decimal
>> behind the coma.
>>
>> I am using something like the following:
>> <jx:formatNumber value="#{order/net_sum * 1.16}" type="currency"
>> currencyCode="EUR" pattern="###.##"/>
>
>    Hi Thorsten.
>
>    try ##0.00
>
>    i think ## is optional.

     I mean, with ###.## if the number is for example 60.00 this is show
     like 60, but if the number is 60.52 this is show with the decimal part.

     Cheers.
>
>    Cheers.
>>
>> ...but I get 60 (without the ,00). Any ideas how I can fix that?
>>
>> TIA for ANY information.
>> --
>> thorsten
>>
>> "Together we stand, divided we fall!"
>> Hey you (Pink Floyd)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>
> --
> Carlos Chávez
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


-- 
Carlos Chávez

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message