POV-Ray : Newsgroups : povray.newusers : rounding : Re: rounding Server Time
28 Jul 2024 16:15:57 EDT (-0400)
  Re: rounding  
From: Warp
Date: 26 Jun 2008 02:15:24
Message: <486333fb@news.povray.org>
Slime <fak### [at] emailaddress> wrote:
> floor( A + 0.5 )

> (Although this will cause -3.5 to be rounded to -3, which I'm not sure is 
> correct.)

  Why would rounding it to -4 be more correct? 3.5 is equally close to
either value.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.