Sorry, I must be having a bad day. I somehow remembered floor() going towards zero, instead of going down *always*. So adding 0.5 and the floor()-ing does work after all... Sorry for wasting your time. (Still, a round() function woud be nice, no?) Just