[Tutor] Is there anyway to set how many numbers are used after the decimal in floating numbers?

Nathan Pinno falcon3166 at hotmail.com
Thu Aug 18 18:31:03 CEST 2005


Hi all,

Is there anyway to set how many numbers are used after the decimal in floating numbers? It would be nice if the answer could be rounded to 2 decimal spots, instead of the ten millionths spot.

Thanks in advance,
Nathan Pinno
---------------------------------------------------------------
Early to bed,
Early to rise,
Makes a man healthy, wealthy, and wise.
--Benjamin Franklin
-------------------------------------------------------------------
Languages I know: Python, English
Languages I am learning: C++, Java, Javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050818/e412a102/attachment.htm


More information about the Tutor mailing list