It's also okay to have fractional pixels, so there's no need for the floor here (unless it's required for some reason I'm not aware of).