• Why is there a measurement error

Question related to mission The Shortest Knight's Path

 

Why is there a measurement error? If the coordinates are integers, the result will always be half an integer.