Thanks, but I have already tried with this solution
<fd:pattern locale="it_IT">#,00</fd:pattern>
but don't work.

:(

Cocoon output:

1,000.90

but I want:

1.000,90




Maurizio Pillitu ha scritto:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
-------------------------------
Alessandro Vincelli
E-mail: [EMAIL PROTECTED]
tel: +39 339 8695546


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to