POV-Ray : Newsgroups : povray.general : #write losing accuracy : Re: #write losing accuracy Server Time
6 Oct 2024 10:01:15 EDT (-0400)
  Re: #write losing accuracy  
From: Kenneth
Date: 18 Mar 2014 04:40:01
Message: <web.532805a03187bc37c2d977c20@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> Like this:
> #write(XYZ,str(500 + rand(R),0,12)
> ..... which writes 500.943482920049 -- 12 actual decimal places.
>

DAMN, I left off the final parenthesis there (even after double-checking my
syntax!!) Sorry! (It will cause POV-Ray to hard-crash... mea culpa...)

It should be...
#write(XYZ,str(500 + rand(R),0,12))


Post a reply to this message

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