On 26-Mar-2004, Andrew Wilson wrote: > printf "%10.2f" 1234567891011 > > No cookies for any of you :)... Unless you tell me of a better way :)
You probably don't need the "10" unless you want to do some formatting. 'printf "%.2f" 123.456' works for me. Cheers, Ronny -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html