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
Sami CohenSami Cohen 

Get Currency Symbol

Hi,
I don't know how to retrieve the currencySymbol  in case the organization doesn't use multiple currency.
 
In the case the org use MultiCurrency i can call the userInfo.getDefaultCurrency() method.
 
But in the case it doesn't there is a problem.
Does exist a property like in the API - CurrencySymbol (getUserInfoResult) or
another way to retrieve the currency symbol ($, ...)?
 
 
Thanks,
 
 

 

coder312Astadiacoder312Astadia

Does anyone have a solution for this yet?  I am having the same problem (i.e. working in a single currency org I need to retrieve the default currency from either the user object or the org object.)  In this scenario, the following code returns Null:

 

String result = userInfo.getDefaultCurrency();

system.debug(result); 

 

Any help would be very much appreciated! 

VarunYagain.ax1323VarunYagain.ax1323

Anyone solved this yet? Your help is very much appreciated.

 

Thanks,

Varun.

Ritika BhargavaRitika Bhargava

Hi, 

 

     I am facing the same problem. Would appreciate any help related to this topic.

 

Thanks, 

Ritika