round off to two decimal & return float

ஆமாச்சு amachu at amachu.me
Sat Mar 30 10:32:34 CET 2013


On Saturday 30 March 2013 02:58 PM, Roland Mueller wrote:
>
>
>
> I assume you have a numeric value a and want to have a float with 2
> decimals. This can be achieved with the function round(): 

But I need 10.00 and not 10.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130330/33ede8fa/attachment.html>


More information about the Python-list mailing list