e = Float.parseFloat(tmp);
tmp = record.substring(12, 19);
n = Float.parseFloat(tmp);
zl = record.charAt(3);
utmp = new UTMPoint(n, e, z, zl);
LatLonPoint llp = utmp.toLatLonPoint();
mgrsp = LLtoMGRS(llp);
outStr1.append(record + " is " + llp + " back to "
+ LLtoUTM(llp) + "\n");
outStr2.append(record + " is " + mgrsp + "\n");
} else if (inType.equalsIgnoreCase("LatLon")) {
float lat, lon;
int index;
String tmp;
record.trim();
index = record.indexOf("\040");
if (index < 0) {
index = record.indexOf("\011");
}
tmp = record.substring(0, index);
lat = Float.parseFloat(tmp);
tmp = record.substring(index);
lon = Float.parseFloat(tmp);
LatLonPoint llp = new LatLonPoint(lat, lon);
// UTMPoint utmp = LLtoUTM(llp);
MGRSPoint mgrsp = LLtoMGRS(llp);
outStr1.append(record + " to UTM: " + mgrsp.zone_number
+ " " + mgrsp.easting + " " + mgrsp.northing + "\n");
outStr2.append(record + " -> " + mgrsp.mgrs + "\n");