cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Pillitu <m.pill...@thebug.it>
Subject Re: [CFORMS] Italian decimal in fd:convertor
Date Thu, 04 May 2006 13:42:24 GMT
Alessandro Vincelli ha scritto:
> Hi,
>
> I would want to visualize the prices in italian format:
>
> for example 1.000,90 €
>
> How Can Do it with Cforms convertor ?
>
> This not work:
> <fd:datatype base="decimal">
> <fd:convertor variant="number">
> <fd:patterns><fd:pattern>#,00</fd:pattern></fd:patterns></fd:convertor>
> </fd:datatype>
>
Try specifying the locale in the fd:pattern element:

<fd:pattern locale="it_IT">#,00</fd:pattern>

Sorry, haven't checked, but it should work.

>
> The problem is change the symbol for decimal separator and thousands 
> separator
>
>
> Thanks in advance.
> Alessandro
>
>


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


Mime
View raw message