MCPcopy Index your code
hub / github.com/benfry/processing4 / parseFloat

Method parseFloat

core/src/processing/core/PApplet.java:8874–8876  ·  view source on GitHub ↗

Convert an int to a float value. Also handles bytes because of Java's rules for upgrading values.

(int what)

Source from the content-addressed store, hash-verified

8872 * Java's rules for upgrading values.
8873 */
8874 static final public float parseFloat(int what) { // also handles byte
8875 return what;
8876 }
8877
8878 static final public float parseFloat(String what) {
8879 return parseFloat(what, Float.NaN);

Callers 15

PShapeSVGMethod · 0.95
parsePathMethod · 0.95
parseSingleTransformMethod · 0.95
setOpacityMethod · 0.95
setStrokeOpacityMethod · 0.95
setFillOpacityMethod · 0.95
parseUnitSizeMethod · 0.95
GradientMethod · 0.95
runSketchMethod · 0.95
DoubleListMethod · 0.95
FloatDictMethod · 0.95
DoubleDictMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected