Re: New // operator
by Syver Enstad other posts by this author
Apr 30 2002 12:44PM messages near this date
view in the new Beta List Site
New // operator
|
Re: New // operator
"Matthew Sherborne" <miracle@[...].nz> writes:
> So I now realize that it is not "Integer Division", it is "Division
> with the
> result rounded down".
I think you want this instead:
round(5/2)
By the way whats wrong with 5/2 = 2 ?
You have five tennisballs, split them on two persons. Surely they can't
have more than two tennisballs each.
--
Vennlig hilsen
Syver Enstad
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Matthew Sherborne
Syver Enstad
Eric Sloane
Kari Hoijarvi
David Ascher
Jeff Shannon
David Ascher
|