nerdexam
Salesforce

PDII · Question #259

In an organization that has multi-currency enabled, a developer is tasked with building a Lightning Component that displays the top ten Opportunities most recently accessed by the logged in user…

Sign in or unlock PDII to reveal the answer and full explanation for question #259. The question stem and answer options stay visible for context.

Question

In an organization that has multi-currency enabled, a developer is tasked with building a Lightning Component that displays the top ten Opportunities most recently accessed 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?

Options

  • AUse a wrapper class to format the values retrieved via SOQL.
  • BUse the FORMAT() function in the SOQL query.
  • CUse the FOR VIEW clause in the SOQL query.
  • DUse REGEX expressions to format the values retrieved via SOQL.

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice