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

Method div

core/src/processing/data/IntDict.java:490–495  ·  view source on GitHub ↗

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

(String key, int amount)

Source from the content-addressed store, hash-verified

488 * @webBrief Divide a value
489 */
490 public void div(String key, int amount) {
491 int index = index(key);
492 if (index != -1) {
493 values[index] /= amount;
494 }
495 }
496
497
498 private void checkMinMax(String functionName) {

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected