quantize
calculate the relation of a value to a given quantum
quantize(value, quantum): out1
Arguments:
Arguments
Name | Type | Default | Description |
---|---|---|---|
value | number | The incoming value to be quantized. | |
quantum | number | 1 | Sets the quantum to use for rounding calculations. The incoming calue will be rounded to the nearest value that is a multiple of 1 divided by the quantum. |
Returns
Name | Type | Description |
---|---|---|
out1 | number |