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

Method convertToDouble

ij/src/main/java/ij/macro/Variable.java:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 double convertToDouble() {
65 try {
66 Double d = Double.valueOf(str);
67 return d.doubleValue();
68 } catch (NumberFormatException e){
69 return Double.NaN;
70 }
71 }
72
73 void setValue(double value) {
74 this.value = value;

Callers 1

getValueMethod · 0.95

Calls 1

valueOfMethod · 0.80

Tested by

no test coverage detected