Hi there,
I hope this a is a simple one,
I am trying to format a number so I get it rounded up to 4 decimals then padded with 2 
zeros afterwards,
$test =  "142.09879543" ;
$test = sprintf( "%.4f", $test);
The output that I am looking for is
142.098800
This will be done via a loop through a whole set of numbers

Thanks
I.S



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


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

Reply via email to