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

Method setFloat

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

@webref jsonobject:method @brief Put a key/float pair in the JSONObject @param key a key string @param value the value to assign @throws RuntimeException If the key is null or if the number is NaN or infinite. @see JSONObject#setInt(String, int) @see JSONObject#setString(String, String) @see JSONObj

(String key, float value)

Source from the content-addressed store, hash-verified

1212 * @see JSONObject#setBoolean(String, boolean)
1213 */
1214 public JSONObject setFloat(String key, float value) {
1215 this.put(key, Double.valueOf(value));
1216 return this;
1217 }
1218
1219
1220 /**

Callers 1

JSONObjectMethod · 0.95

Calls 1

putMethod · 0.95

Tested by

no test coverage detected