10 Feb 03:25
Re: round down to nearest number
noydb <jenn.duerr <at> gmail.com>
2012-02-10 02:25:56 GMT
2012-02-10 02:25:56 GMT
That {>>> (3219 + 99) // 100} doesnt work if the number is other then
4 digits.
(for rounding up to nearest 100):
>>> (3219 + 99)//100
33
>>> (3289 + 99)//100
33
>>> (328678 + 99)//100
3287
>>> (328 + 99)//100
4
RSS Feed