We can use following syntax to display the amount columns in different currencies
<?format-currency:amount_xml_tag;'currency_code';'true or false'?>
amount_xml_tag= amount column that available in data model
currency_code= currency code to display the symbol for amount
If user want to see the currency symbol in the out put ,just set 'true' else 'false' for last argument in the above syntax
examples
<?format-currency:ACTUAL_AMT;'INR';'true'?>
<?format-currency:ACTUAL_AMT;'USD';'true'?>
<?format-currency:ACTUAL_AMT;'GBP';'true'?>
<?format-currency:amount_xml_tag;'currency_code';'true or false'?>
amount_xml_tag= amount column that available in data model
currency_code= currency code to display the symbol for amount
If user want to see the currency symbol in the out put ,just set 'true' else 'false' for last argument in the above syntax
examples
<?format-currency:ACTUAL_AMT;'INR';'true'?>
<?format-currency:ACTUAL_AMT;'USD';'true'?>
<?format-currency:ACTUAL_AMT;'GBP';'true'?>
How can I do something like this :
ReplyDelete