A

Admin • 833.24K Points
Coach

Q. Which MySQL function is used to round a number to the nearest integer?

  • (A) ROUND()
  • (B) CEIL()
  • (C) FLOOR()
  • (D) TRUNC()
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

ROUND() rounds a number to the nearest integer or given decimals. CEIL() always rounds up, FLOOR() always rounds down. TRUNC() is not in MySQL.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.