Multiply the given number with the value currently stored at the given key. The product then replaces the value previously stored in the Dictionary.
Examples
Syntax
mult(Key, Amount)
Parameters
Key
Number:
for value you wish to multiply
Amount
Number:
to multiply the value by
This page is generated from the comments in src/data/p5.TypedDict.js . Please feel free to edit it and submit a pull request!
Related References
createNumberDict
Creates a new instance of p5.NumberDict using the key-value pair or object you provide.
createStringDict
Creates a new instance of p5.StringDict using the key-value pair or the object you provide.
p5.NumberDict
A simple Dictionary class for Numbers.
p5.StringDict
A simple Dictionary class for Strings.