Index  Up  <<  >>  


[currency ...]

named: [currency convert=1*] number [/currency]

positonal: [currency convert*]

AUTOINTERPOLATE: Yes, can be turned off with INTERPOLATE=0

When passed a value of a single number, formats it according to the currency specification. For instance:

    [currency]4[/currency]

will display:

    4.00

Uses the Locale and PriceCommas settings as appropriate, and can contain a [calc] region. If the optional ``convert'' parameter is set, it will convert according to PriceDivide> for the current locale. If Locale is set to fr_FR, and PriceDivide for fr_FR is 0.167, the following sequence

    [currency convert=1] [calc] 500.00 + 1000.00 [/calc] [/currency]

will cause the number 8.982,04 to be displayed.


Index  Up  <<  >>