I need this formula (Haversine formula) to be written in ASP:
a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2
c = 2 * atan2(sqrt(a), sqrt(1-a))
I did it but I get a data type mismatch for the atan2 function.
any ideas
ft
Set the gearshift for the high gear of your soul, you've got to run like an antelope, out of control.
a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2
c = 2 * atan2(sqrt(a), sqrt(1-a))
I did it but I get a data type mismatch for the atan2 function.
any ideas
ft
Set the gearshift for the high gear of your soul, you've got to run like an antelope, out of control.