Default zoom: The values in Dx and Dy are integers without decimal values

Use Auto Grid

As you zoom in, the values change when you start drawing a line

Use Auto Grid