POV-Ray : Newsgroups : povray.advanced-users : Bitwise AND : Re: Bitwise AND Server Time
29 Jul 2024 02:23:44 EDT (-0400)
  Re: Bitwise AND  
From: Slime
Date: 6 Apr 2004 09:39:03
Message: <4072b2f7@news.povray.org>
>   The question is, thus, if you want to print something different from
> the default "%g" format (which POV-Ray should use when nothing else
> is specified, like in your example above), how do you tell it?

In that case, one could explicitly use the str() function instead of relying
on automatic type conversion:

#debug "X was " + str(x, 5, 5) + "."

But being able to skip that step is convenient when you're only interested
in a ballpark figure for debugging purposes.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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