i need validate the latitude and longitude with the following format how can it be done. for the following format:
a) degrees minutes seconds: 40° 26′ 46″ N 79° 58′ 56″ W b) degrees decimal minutes: 40° 26.767′ N 79° 58.933′ W c) decimal degrees: 40.446° N 79.982° W d) decimal 40.44667, 79,9846723
via binod shrestha