Could anybody please tell me what the following piece
of code does :

 $number = 59.4567312 ; 
 printf (" %9.2g", $number);

i know what " %9.1f" would have done in this case.
but how does " %9.2g" round off ?

thanks,
S.

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to