MCPcopy Index your code
hub / github.com/processing/processing / parseFloat

Method parseFloat

core/src/processing/core/PApplet.java:9761–9763  ·  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

9759 * Java's rules for upgrading values.
9760 */
9761 static final public float parseFloat(int what) { // also handles byte
9762 return what;
9763 }
9764
9765 static final public float parseFloat(String what) {
9766 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
DoubleListMethod · 0.95
FloatDictMethod · 0.95
DoubleDictMethod · 0.95
FloatListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected