In an Arduino program I\'m working on the GPS sends the coordinates to the arduino through USB. Because of this, the incoming coordinates are stored as Strings. Is there any way
How about sscanf(curLongitude, "%i", &gpslong) or sscanf(curLongitude, "%f", &gpslong)? Depending on how the strings look, you might have to modify the format string, of course.