Rounding

Vladimir Rusinov vladimir at greenmice.info
Tue Dec 18 03:53:19 EST 2007


On 12/15/07, katie smith <iceboy127 at yahoo.com> wrote:
>
> if i have a number 6.345 and i wanted it to be 6 without subtracting .345
> because it won't always be .345 what do i do?
>
> how do i round to the nearest whole number. Or in this case round down. Is
> there an easy way to round down to the nearest whole number?


init() ?


-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071218/9081009e/attachment.html>


More information about the Python-list mailing list