round not rounding to 0 places

Fuzzydave Fuzzygoth at gmail.com
Wed Aug 16 03:55:07 EDT 2006


> Sybren Stuvel wrote:
> round returns a float. Use
> int(round('+value+', 0))
> to get an integer.
> Sybren

ahh of course it does, slaps own forehead sorted 
thanks :)

David P




More information about the Python-list mailing list