Re: elementtree and rounding questions

2008-07-30 Thread jyoung79
Thank you very much Gabriel and Stefan for your help! I really appreciate the excellent examples you've shared which is helping me understand how all this works. Again, thank you for taking the time to help me with this. Jay -- http://mail.python.org/mailman/listinfo/python-list

Re: elementtree and rounding questions

2008-07-29 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > > > > > > > > > > > >name="Courier">text > >

Re: elementtree and rounding questions

2008-07-29 Thread Gabriel Genellina
En Wed, 30 Jul 2008 00:56:55 -0300, <[EMAIL PROTECTED]> escribi�: One other question I had was about rounding floats. I was first looking at this syntax to round out to 6 decimal places if needed: f = '508.5' x = '%.6f' % (float(f)/72) x '7.062500' However, in this instance I don't want t