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
4 Nov 2024 23:17:17 EST (-0500)
  Re: int() and val() don't work in functions  
From: Thorsten Froehlich
Date: 17 Sep 2001 16:36:07
Message: <3ba65eb7@news.povray.org>
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.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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