function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

currency output fields in a mult currency org

We are a multi currency org. I have a visualforce email template in which I need to display a currency field Sales_Price__c. I am using <td><apex:outputField value="{!px.Sales_Price__c}"/></td> to display this field but the problem is that if the user who is sending the email has a default currency of USD and the record being referred to in the email has a currency of GBP the Sales Price is displayed as:

GBP 694.60 (USD 1,000.22)


How can I have it simply display the record's currency without the conversion?




maybe you can try this:


<apex:outputPanel >
<apex:outputField value="{!px.CurrencyIsoCode}" />
<apex:outputText value="{!px.Sales_Price__c}"/>





Message Edited by CTU007 on 02-03-2010 11:05 AM
Also, we are using the dated exchange rate function so outputField is not supported in my org on currency field.