fn quantize(value: f64, quantum: i32) -> i32
Quantize: snap value down to the nearest multiple of quantum.
quantum