Something is strange here, computers are deterministic, if you user same input and get different outputs.:confused:
Verify that points you use are using same spatial reference, use SnapToSpatialReference to be sure coordinates are within resolution and on the map grid.
Other approach is to create Line by points and get Length from line.
regards Dubravko