POV-Ray : Newsgroups : povray.beta-test : int() and val() don't work in functions : Re: int() and val() don't work in functions Server Time
31 Jul 2024 02:22:44 EDT (-0400)
  Re: int() and val() don't work in functions  
From: Tor Olav Kristensen
Date: 17 Oct 2001 04:33:02
Message: <3BCD41A8.8EB9CA5C@hotmail.com>
Thorsten Froehlich wrote:
> 
> In article <slr### [at] fwicom> , ron### [at] povrayorg (Ron
> Parker) wrote:
> 
> > I think the difference is the behavior for negative numbers:
> > int(-1.5) is -1, but floor(-1.5) is -2.
> 
> Hmm, do we really need the "int" behavior?  Anyway, I will add it to
> functions.

Yes.


Tor Olav


Post a reply to this message

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