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

Method f2

src/org/opensourcephysics/controls/ControlUtils.java:40–42  ·  view source on GitHub ↗

Convert a double to a string, printing two decimal places. @param d Input double

(double d)

Source from the content-addressed store, hash-verified

38 * @param d Input double
39 */
40 static public String f2(double d) {
41 return format2.format(d);
42 }
43
44 /**
45 * Convert a double to a string, printing three decimal places.

Callers 6

Ball3DAppMethod · 0.95
doStepMethod · 0.95
doStepMethod · 0.95
initializeMethod · 0.95
resetMethod · 0.95
doStepMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected