Question:medium

State the output of the following query: \[ \text{SELECT ROUND(9873.567,-2);} \]

Show Hint

Negative values in ROUND() move rounding to the left of the decimal: -1 = nearest 10, -2 = nearest 100, -3 = nearest 1000.
Updated On: Feb 15, 2026
  • 9900
  • 9873
  • 9800
  • 9873.5
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Understanding ROUND().
The \texttt{ROUND(number, n)} function rounds a specified number to a designated place value determined by \texttt{n}. - A positive \texttt{n} indicates rounding to decimal places.
- An \texttt{n} of 0 results in rounding to the nearest integer.
- A negative \texttt{n} signifies rounding to the left of the decimal point.

Step 2: Application Example.
- Number: 9873.567
- Parameter (\texttt{n}): -2, instructing to round to the nearest hundred.
- For 9873.567, the tens digit is 7. Since 7 is greater than or equal to 5, we round the hundreds digit up.
\[9873.567 \approx 9800\]
Step 3: Verify the result.
The calculated value is 9800.
Final Answer: \[\boxed{9800}\]
Was this answer helpful?
0