Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. 6376.5 * 2.0 * Math.Asin(Math.Sqrt(Math.Pow(Math.Sin(((Convert.ToDouble(g.Latitude) * (Math.PI / 180.0)) - (lat * (Math.PI / 180.0))) / 2.0), 2.0) +
  2. Math.Cos(lat * (Math.PI / 180.0)) * Math.Cos(Convert.ToDouble(g.Latitude) * (Math.PI / 180.0)) *
  3. Math.Pow(Math.Sin(((Convert.ToDouble(g.Longitude) * (Math.PI / 180.0)) - (lon * (Math.PI / 180.0))) / 2.0), 2.0)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement