engineer khan
Member level 3
Hello All dears,
I m working to design a device that take location lat long, i successfully obtained lat-long but the problem is that lat-long value is in degree/minutes/seconds i need it in decimal number, let suposed i get lat=2450.1234 which in decimaol is "24.83336761111111" how can i go from first value to the latter one.....i sought on net where i found a formula degree/+minutes/60+second/3600 ,the question is that how to covert 2450.1234 to 24.83336761111111 in c coding i m using pic18f mikroc compiler
I m working to design a device that take location lat long, i successfully obtained lat-long but the problem is that lat-long value is in degree/minutes/seconds i need it in decimal number, let suposed i get lat=2450.1234 which in decimaol is "24.83336761111111" how can i go from first value to the latter one.....i sought on net where i found a formula degree/+minutes/60+second/3600 ,the question is that how to covert 2450.1234 to 24.83336761111111 in c coding i m using pic18f mikroc compiler