i want to design an odometer using GPS... the data coming from GPS modules is in form of strings...the format of coordinates is ddmm.mmmm
In order to calculate the distance b/w 2 coordinates, we use haversine fomula... this formula requires coordinates in form dd.dddddddd so i first need to convert string into float then convert it into dd.ddddddd form.... the above code gives me coordinates as dd.dd i need more precision in my project