POV-Ray : Newsgroups : povray.beta-test : [Doc] Error in str(A,L,P) example Server Time
2 Nov 2024 17:17:51 EDT (-0400)
  [Doc] Error in str(A,L,P) example (Message 1 to 2 of 2)  
From: Francois Labreque
Subject: [Doc] Error in str(A,L,P) example
Date: 26 Oct 2001 22:32:58
Message: <3BDA1C49.6020809@videotron.ca>
Section 6.1.7.2

In the examples for the str() function,


    str(123.456,9,3) " 123.456"
    str(123.456,5,0) " 123"

Should either be:

    str(123.456,8,3) " 123.456"
    str(123.456,4,0) " 123"

or:

    str(123.456,9,3) "  123.456"
    str(123.456,5,0) "  123"

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

From: ingo
Subject: Re: [Doc] Error in str(A,L,P) example
Date: 27 Oct 2001 07:12:36
Message: <Xns9147866163162seed7@povray.org>
in news:3BD### [at] videotronca Francois Labreque wrote:

>     str(123.456,9,3) "  123.456"
>     str(123.456,5,0) "  123"
> 

That'll be the one

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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