At 17:24 23/05/2002 -0500, Shah, Urmil wrote:
>What he wanted was 2 decimal points and chop everything else
>
>Eg. 123.4567890
>
>   Needed = 123.45 or 46 (rounding after 2 digits)
>
>He replied to me with clarification and i think forgot to hit reply all
>which brought all this confusion..
>
>I think the problem is solved with sprintf
>
>Urmil


that is correct. i solved it with the $netout_new = 
sprintf"%.2f",$netout_new; thanks to Urmil. i think i may have forgotten to 
hit reply all as well as i have just got a different email client. sorry 
for the confusion.

thanks guys


Matthew Harrison
Internet/Network Services Administrator
www.genestate.com


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

Reply via email to