SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the below formula to find the distance between the 2 points:
distance*distance = ((x2 - x1)*(x2 - x1)) + ((y2 - y1)*(y2 - y1))