Name the function used to round off value from 1.89 to 2.0.

2017

Name the function used to round off value from 1.89 to 2.0.

Answer: B. CeilThe ceil/ceiling function rounds a decimal value up to the next integer. Therefore 1.89 becomes 2.0.

  1. A.

    Floor

  2. B.

    Ceil

  3. C.

    Round up (1.89)

  4. D.

    Round to (1.89)

Attempted by 89 students.

Show answer & explanation

Correct answer: B

The ceil/ceiling function rounds a decimal value up to the next integer. Therefore 1.89 becomes 2.0.

Explore the full course: Btsc Lab Assistant

Loading lesson…