What is the most effective approach to ensure values displayed respect the user’s locale settings?

In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user’s locale.

What is the most effective approach to ensure values displayed respect the user’s locale settings?
A . Use the FOR VIEW clause in the SOQL Query.
B . Use REGEX expressions to format the values retrieved via SOQ
D . Use the FORMAT() function in the SOQL query.
E . Use a wrapper class to format the values retrieved via SOQ

Answer: C

Latest PDII Practice Questions with 280 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments