Use round rather than floor.