round down to nearest number
clp2 at rebertia.com
Thu Feb 9 20:43:58 EST 2012
On Thu, Feb 9, 2012 at 5:23 PM, noydb <jenn.duerr at gmail.com> wrote:
> hmmm, okay.
> So how would you round UP always? Say the number is 3219, so you want
> 3300 returned.
Thus: (3219 + 99) // 100
Slight tangent: Beware negative numbers when using // or %.
More information about the Python-list