[openbeos] Re: POSIX headers

  • From: "Adi Oanca" <e2joseph@xxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Thu, 18 Sep 2003 03:31:03 +0300

From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
> "Adi Oanca" <e2joseph@xxxxxxxxxx> wrote:
> >     Oh well.. it does not matter any more... the code above work just
> > fine,
> > so I'll use it.
>
> But beware that that code doesn't round the value, but just cuts off
> everything after the decimal point.

    That why I added 0.5f ! :-) So rounding is done.


Adi.



Other related posts: