MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getValue

Method getValue

ij/src/main/java/ij/gui/GenericDialog.java:1366–1373  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

1364 }
1365
1366 protected Double getValue(String text) {
1367 Double d;
1368 try {d = Double.valueOf(text);}
1369 catch (NumberFormatException e){
1370 d = null;
1371 }
1372 return d;
1373 }
1374
1375 public double parseDouble(String s) {
1376 if (s==null) return Double.NaN;

Callers 6

getNextNumberMethod · 0.95
syncWindowsMethod · 0.45
mouseWheelMovedMethod · 0.45
keyPressedMethod · 0.45

Calls 1

valueOfMethod · 0.80

Tested by

no test coverage detected