Multiple choice technology databases

Which of the following returns 123.46

  1. abs(-123.456)

  2. trunc(123.456,2)

  3. round(123.456,2)

  4. avg(1,2,3,4,5)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

round(123.456, 2) rounds the value to two decimal places, yielding 123.46. trunc(123.456, 2) truncates without rounding to produce 123.45. abs returns absolute value, and avg computes the average.