We have enabled multicurrency in our org.
There are some places where in Apex classes and Visualforce pages which is hard coding or returning '$'.
My concern is there is some old code and functionality which no one knows how it works or used.
For example:
public String getGrandTotalRequested() {
double returnVal = 0;
for (Renewal_Quote_Line_Item__c i : LineItemsList.values()) {
returnVal += i.Extended_Price_Requested__c;
}
return '$' + (returnVal.format().contains('.') ? returnVal.format() :
(returnVal.format() + '.00'));
}
Above is the snippet of code which is trying to return $ and currency field.
I worried that will it display $ USD 123 value. As after enabling multicurrency currency fields will display in USD.