Double nmeaLatToDecimal(String nmea) throws NumberFormatException {
  int deg=Integer.parseInt(nmea.substring(0,2));
  Double min=Double.parseDouble(nmea.substring(2));
  return deg + min / 60d;
}

Double nmeaLatToDecimal ( String nmea ) throws NumberFormatException { int deg = Integer . parseInt ( nmea . substring ( 0 , 2 ) ) ; Double min = Double . parseDouble ( nmea . substring ( 2 ) ) ; return deg + min / 60d ; }
convert from nmea format to decimal ( there is already a method in location so this is not really necessary )
