Can someone direct me in the right direction on this? I just don't
understand what it's asking.
An Application of method.floor is rounding a value to the nearest integer.
The statement y = math.floor( x + 0.5 ); will round the number x to the
nearest integer and assign the result to y. Write an application that reads
double value and uses the preceding statement to round each of the numbers
to the nearest integer. For each number proceeded, display both the original
number and rounded number.
Oliver Wong - 16 Oct 2006 17:26 GMT
> Can someone direct me in the right direction on this? I just don't
> understand what it's asking.
Next time, crosspost, don't multipost:
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
Your question was already answered on another newsgroup.
- Oliver