File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434public class Main {
3535
3636 //VK2ETA: Based on "jpskmail 1.7.b";
37- static String version = "3.1.8.5 " ;
37+ static String version = "3.1.8.6 " ;
3838 static String application = "jPskmail " + version ;// Used to preset an empty status
39- static String versionDate = "20240105 " ;
39+ static String versionDate = "20240109 " ;
4040 static String host = "localhost" ;
4141 static int port = 7322 ; //ARQ IP port
4242 static String xmlPort = "7362" ; //XML IP port
Original file line number Diff line number Diff line change @@ -1363,7 +1363,12 @@ public void setLongitudeText(String instring) {
13631363
13641364 // convert to degrees/minutes
13651365 public String convcoord (String instring ) {
1366- Double lt = Double .parseDouble (instring );
1366+ Double lt = 0.0 ;
1367+ try {
1368+ lt = Double .parseDouble (instring );
1369+ } catch (NumberFormatException e ) {
1370+ //Continue using zero
1371+ }
13671372 int deg = lt .intValue ();
13681373 Double rest = lt - deg ;
13691374 Double minutes = 60 * rest ;
You can’t perform that action at this time.
0 commit comments