Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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) +
- Math.Cos(lat * (Math.PI / 180.0)) * Math.Cos(Convert.ToDouble(g.Latitude) * (Math.PI / 180.0)) *
- 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