Reference+
Name
mult()
Class
IntDict
Description
Multiply a value.
Examples
IntDict inventory; void setup() { size(200, 200); inventory = new IntDict(); inventory.set("cd", 84); inventory.set("tapes", 15); inventory.set("records", 102); println(inventory); // There are 84 cds inventory.mult("cd", 2); println(inventory); // There are 168 cds }
Syntax
.mult(key, amount)
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.