[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: Why is there no 'math.round'?**
**From**: "troels knak-nielsen" <troelskn@...>
**Date**: Wed, 23 Apr 2008 14:47:03 +0200

On Wed, Apr 23, 2008 at 2:36 PM, Bogdan Marinescu
<bogdan.marinescu@gmail.com> wrote:
> "is there any particularly strong reason why lua needs one?".
>
> Maybe because just about any decent math library out there has one ? Think I
> ran in this problem myself a while ago.
If I'm not mistaken, there are several competing ways of rounding a
perfect half.
--
troels