[Tutor] Help on float & round.

Decibels decibelshelp@charter.net
Wed Jun 11 01:24:02 2003


Thanks a lot Greg and Alfred, both worked like a charm. I saw that somewhere,
but must have missed it when doing this. Nothing like learning. 
Thanks again,

Dave 


On Tuesday 10 June 2003 11:54 pm, Greg Chapman wrote:
> oops, the print statement should be:
> print "Current Price: %.2f" % (stock[2])
>
> You dont need the temp variable anymore if you're not using round()
>
> greg
>
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor