IBM
C2070-585 · Question #88
C2070-585 Question #88: Real Exam Question with Answer & Explanation
The correct answer is D. It will return true, since the field is numeric and includes 2-digit decimal amount. See the full explanation below for the reasoning.
Question
An application is verifying field values. It is decided to use the IsFieldCurrency action to validate the values entered by users. What happens if "370.26 USD" is passed into IsFieldCurrency?
Options
- AIt will return false, since there is a trailing "USD"
- BIt will return false, since there is a missing currency symbol of '$'
- CIt will return true, since the field is numeric and it has a "USD" suffix
- DIt will return true, since the field is numeric and includes 2-digit decimal amount
Community Discussion
No community discussion yet for this question.