MARKETING-CLOUD-DEVELOPER practice question 5 of 10
A developer has a text field in a data extension they want to format using the FormatCurrency AMPscript function. Which two values would return $6.96? Choose 2
Full set: 196 questionsThe FormatCurrency AMPscript function formats numeric values as currency. Here, 6.96 (B) and 6.96 (D) are numerical representations that will be formatted to $6.96.
A. 6,961: This would format to $6,961.00, not $6.96.
C. $6.96: This is already formatted and will not be processed as a number for formatting purposes.
Option A: "6,961" contains a comma separator representing six thousand nine hundred sixty-one in standard US format, which formats to $6,961.00 rather than $6.96.
Option C: "$6.96" includes a pre-formatted currency symbol, causing a runtime parsing error because FormatCurrency requires unformatted numeric input.
- Salesforce AMPscript Documentation, FormatCurrency
- Salesforce Marketing Cloud Developer Guide, AMPscript Functions
Keep practicing
Take the free MARKETING-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MARKETING-CLOUD-DEVELOPER practice questions
- Question 1A marketer is troubleshooting why an email send's tracking information is not available i…
- Question 2NTO puts the word TEST at the beginning of the name for each test email. Which query woul…
- Question 3Certification Aid wants to include SSJS in an email message. Which code block can be used…
- Question 4A developer receives a 401 Unathorized HTTP status message from a REST API request. What …
- Question 6A developer needs to create a fully-branded CloudPage which includes images hosted in Con…
- Question 7A developer needs to push real-time updates of the company's product catalog to a data ex…
