MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / parseDouble

Method parseDouble

src/org/opensourcephysics/display/TextLine.java:870–872  ·  view source on GitHub ↗

Parse a double value. Precision is 6 figures, with 7 significant figures. @param d double to parse return true if the parse was successful

(double d)

Source from the content-addressed store, hash-verified

868 * return <i>true</i> if the parse was successful
869 */
870 public boolean parseDouble(double d) {
871 return parseDouble(d, 7, 6, ALGEBRAIC);
872 }
873
874 /**
875 * Parse a double value. Number of significant figures is 1 greater than

Callers 15

setTopComponentMethod · 0.80
setFontLevelMethod · 0.80
parseDoublesMethod · 0.80
saveImageMethod · 0.80
actionPerformedMethod · 0.80
setValueAtMethod · 0.80
getNumberMethod · 0.80
actionPerformedMethod · 0.80
addFrameMethod · 0.80
setFrameRateMethod · 0.80
actionPerformedMethod · 0.80
setFromMediaTrackInfoMethod · 0.80

Calls 7

log10Method · 0.95
setTextMethod · 0.95
roundMethod · 0.80
absMethod · 0.80
printlnMethod · 0.65
appendMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected