Drag the two points. They snap to whole numbers.

Try
Segment