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

Method setFloat

core/src/processing/data/JSONArray.java:922–924  ·  view source on GitHub ↗

Put or replace a float value. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. There are no 'double' values in JSON, so this is passed to setDouble(value). @webref jsonarray:method @brief Put a float value in the JSONArray @param

(int index, float value)

Source from the content-addressed store, hash-verified

920 * @see JSONArray#setBoolean(int, boolean)
921 */
922 public JSONArray setFloat(int index, float value) {
923 return setDouble(index, value);
924 }
925
926
927 /**

Callers

nothing calls this directly

Calls 1

setDoubleMethod · 0.95

Tested by

no test coverage detected