Difference between revisions of "Displaying a Number Value as Currency"

From SmartWiki
Jump to: navigation, search
(Created page with 'Fields containing number values can be displayed in currency formats in other custom fields such as Web Page View fields…')
 
Line 2: Line 2:
  
 
  @format(''FIELD NAME'',currency,''CURRENCYCODE'')@
 
  @format(''FIELD NAME'',currency,''CURRENCYCODE'')@
 +
 
  where ''FIELD NAME'' is the name of the field being referenced
 
  where ''FIELD NAME'' is the name of the field being referenced
 
  and ''CURRENCYCODE'' is the three-letter currency code used by [http://en.wikipedia.org/wiki/ISO_4217 ISO 4217]
 
  and ''CURRENCYCODE'' is the three-letter currency code used by [http://en.wikipedia.org/wiki/ISO_4217 ISO 4217]

Revision as of 15:56, 24 June 2013

Fields containing number values can be displayed in currency formats in other custom fields such as Web Page View fields using the following syntax:

@format(FIELD NAME,currency,CURRENCYCODE)@

where FIELD NAME is the name of the field being referenced
and CURRENCYCODE is the three-letter currency code used by ISO 4217

Therefore, a field containing the value 300 can be displayed as follows: