Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

tool which round off the number up to specified digits.

accordingly. If it is less than 5 then place value remains unchanged. If it is 5 or greater than 5 then numerical value of

place value becomes one more than place value.

Solution: here tens place digit is 2 and its place value is 2. Number to the right side of 2 is 5. Since it is 5 or greater than 5 we

increase a place value 2 by 1 and right side digit 5 becomes zero.

2 + 1 = 3 and instead of 5 write 0.

Hence 25.2 rounding to nearest tens is 30.

Solution: here thousands place digit is 1 and units place digit is 1. Since units place digit is 1

(i.e. less than 5) numerical value of thousands place number remains same as its place value.

Make all digits zero except the thousand place digit. Hence we get a number rounded to the nearest thousands of 00.9 as

1000.