Is there are some way to split floats of Geodata into integers?
I am having problems with sending floats over Bluetooth LE and was thinking about solution where I would simply separate floats directly on Arduino side into integers.
For example in C# it can be done this way:
string lat = "65.23423";
List<string> latitude = lat.Split('.').ToList();
string latitude1 = latitude[0];
string latitude2 = latitude[1];
For example I am having readings like:
65.23423
29.23434
I would like to split them for
Serial.print(65);
Serial.print(23423);
Serial.print(29);
Serial.print(23434);
Note! There are can be negative values for latitude and longitude.