asked 179k views
0 votes
Math.round(math.abs(-4.7)


asked
User Rutger
by
9.0k points

1 Answer

5 votes

The abs function gets the absolute value of -4.7, which is 4.7. Then the value is rounded to the nearest whole number, which is 5.

The correct answer is 5.

answered
User Andy Brudtkuhl
by
8.8k points

No related questions found