Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getValue
Method · 0.95
Calls
1
valueOf
Method · 0.80
Tested by
no test coverage detected