You mean Math.round? Although we don't enforce it, pixels should be integers. At least when you use the pixel from a MapBrowserEvent, you are guaranteed to get an integer. So I'd leave it like this for now.