|
Posted by Peter J. Holzer on January 15, 2008, 12:51 pm
Please log in for more thread options > Peter J. Holzer (hjp-usenet2@hjp.at) wrote on VCCL September MCMXCIII in
> }}
> }} Of course there is no other way to round-to-0, but the manual is talking
> }} about "rounding" here: And "rounding" without any qualifiers usually
> }} means "round to nearest", not "round to 0".
> }}
> }} The entry is still confusing: The hint to use sprintf instead is ok, but
> }} in what way are floor and ceil supposed to be better than int? And the
> }} caveat about decimal/binary confusions isn't really a reason for "don't
> }} use int for rounding" - any rounding method has the same problem.
>
>
> Neither floor, nor ceil does the same as int.
True. But what does that have to do with anything I wrote?
hp
|