that does not round up.. int(round(6.345)) maybe tir, 18.12.2007 kl. 11.53 +0300, skrev Vladimir Rusinov: > > > On 12/15/07, katie smith <[EMAIL PROTECTED]> 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/ > -- > http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list