It is 999, exactly as in the question.
1,000
It is: 1,000
100
To the nearest thousand, 57000
30,000,000
30,000,000
You can round up 999 to the nearest tens (that is 1000). This is only applicable when you are doing a calculation involving very huge value, where using 1000 or 999 will have negligible effect on the final answer.
The 5 will round the 2 up to 3, giving 0.123 as the result.
You would round it UP - to read 10.00
It depends on the magnitude to which it is rounded. To the nearest integer (or smaller) it is 9 999 999 To the nearest 10, 100, etc to 10 million, it is 10 000 000 000 To the nearest 100 million or larger, it is 0
int sum = 0; int n = 0; while( sum <= 999 ) { sum += (++n); }