Question 660
A stored procedure passes DECIMAL prices as unquoted strings with locale commas and model summaries misstate values. Which measurable outcome BEST verifies that the requirement is satisfied?
Explanation
Correct Answer
An API test reads amounts with correct decimal interpretation. This is the decisive observable evidence after implementing serialize numeric SQL types as valid JSON numbers with explicit unit metadata. It tests the underlying requirement: JSON encoding preserves numeric representation better than locale-dependent concatenation.
Incorrect Answers
Captured outbound JSON excludes restricted notes and includes needed metrics. However, that result would not establish the required outcome: an API test reads amounts with correct decimal interpretation.
A fixture response yields the expected text without transport headers. However, that result would not establish the required outcome: an API test reads amounts with correct decimal interpretation.
The computed amount matches audited ledger SQL exactly. However, that result would not establish the required outcome: an API test reads amounts with correct decimal interpretation.