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

Method getFloat

core/src/processing/data/JSONObject.java:688–690  ·  view source on GitHub ↗

@webref jsonobject:method @brief Gets the float value associated with a key @param key a key string @see JSONObject#getInt(String) @see JSONObject#getString(String) @see JSONObject#getBoolean(String)

(String key)

Source from the content-addressed store, hash-verified

686 * @see JSONObject#getBoolean(String)
687 */
688 public float getFloat(String key) {
689 return (float) getDouble(key);
690 }
691
692
693 public float getFloat(String key, float defaultValue) {

Callers

nothing calls this directly

Calls 1

getDoubleMethod · 0.95

Tested by

no test coverage detected