Python really should have a function for that.  I looked around for
one and couldn't find it.

I usually define a function rndint() which essentially is
int(round(num)), like Marcel's first method.

That second method, Marcel, is interesting--I hadn't thought of it.

Ian

Reply via email to