"Adrian Farrell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> $answer = printf ("\nThe area of the circle with a radius of $radius is
> %2.2f\n", ($area));
>
> print "$answer"

If you want to store the string in a var, use sprintf. printf returns wether
or not the print was sucessful, hence the 1 stored in $answer.

Todd W.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to