You need to sign in to do that
Don't have an account?

Formatting currency fields in Multi-curency app
Hi,
I am using the OpportunityLineItem.TotalPrice field in one of my VisualForce pages with the Standard 'Opportunity' controller. We are preparing a sort of quote document with the line items and amounts from an Opportunity. I am using the 'outputField' tag to show this field. Simplified version of the page code below:
I am using the OpportunityLineItem.TotalPrice field in one of my VisualForce pages with the Standard 'Opportunity' controller. We are preparing a sort of quote document with the line items and amounts from an Opportunity. I am using the 'outputField' tag to show this field. Simplified version of the page code below:
Code:
<apex:dataTable value="{!opportunity.OpportunityLineItems}" var="Item" width="675" rules="all" cellPadding="6" styleClass="data" columnClasses="info_bottom_1, info_bottom_2, info_bottom_3, info_bottom_4"> <apex:column> <apex:outputField value="{!Item.TotalPrice}"/> </apex:column> </apex:dataTable>
USD 47,250.00
However, we would like to show this value as:
$47,250.00
Is there some way to have Salesforce return the value in this format? Can this be done across currencies ?
Or, does someone have a good suggestion for doing a sort of 'replace' function so that I can replace the ISO code with the currency symbol for our currencies??
Many thanks for any ideas.
good luck to us...
http://docs.releasenotes.salesforce.com/en-us/summer15/release-notes/rn_forcecom_globalization_multicurrency.htm
Available in: Group, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions
To display currency symbols, search Setup for User Interface, and then select Show currency symbols instead of ISO codes in the Currency Display Settings section of the User Interface settings page. If you later enable more currencies in your organization, ISO codes display and this preference are no longer available. This preference applies only in the standard Salesforce user interface.
Where is this setting? Help!