POV-Ray : Newsgroups : povray.general : Round to nearest integer : Re: Round to nearest integer Server Time
24 Apr 2024 13:18:03 EDT (-0400)
  Re: Round to nearest integer  
From: Mike Horvath
Date: 27 May 2021 07:31:39
Message: <60af831b$1@news.povray.org>
On 5/27/2021 7:20 AM, Mike Horvath wrote:
> Has someone written a macro that rounds a float to the nearest integer? 
> Thanks!
> 
> 
> Mike


Or, to the nearest multiple of n, where n is any number.


Mike


Post a reply to this message

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