POV-Ray : Newsgroups : povray.newusers : #debug outputs incorrect value : Re: #debug outputs incorrect value Server Time
18 Jul 2024 07:20:07 EDT (-0400)
  Re: #debug outputs incorrect value  
From: Timwi
Date: 21 Mar 2009 19:44:22
Message: <49c57bd6$1@news.povray.org>
clipka wrote:
> Timwi <tim### [at] gmxnet> wrote:
>> Why does str() always return zeroes even for values that aren't
>> zero?
> 
> The 3rd parameter controls the display precision of the fractional
> part in powers of 0.1 (i.e. the number of digits to display after the
> decimal point); setting it to zero therefore gives you only the
> integer part of the value. [...] Set the 3rd parameter to -1 to have
> POV automatically pick a (more or less) suitable precision

Thanks a lot! :)


Post a reply to this message

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