MCPcopy Create free account
hub / github.com/benfry/processing4 / div

Method div

core/src/processing/data/FloatDict.java:470–475  ·  view source on GitHub ↗

Divide a value. @webref floatdict:method @webBrief Divide a value

(String key, float amount)

Source from the content-addressed store, hash-verified

468 * @webBrief Divide a value
469 */
470 public void div(String key, float amount) {
471 int index = index(key);
472 if (index != -1) {
473 values[index] /= amount;
474 }
475 }
476
477
478 private void checkMinMax(String functionName) {

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected