SplitScript reference / Numeric / multiply
Numeric.multiply
Operator
T.multiply(other: T) -> T where T: Numeric
Multiplies by another value of the same numeric type.
This method is also the implementation of the * operator. Integer overflow wraps modulo the receiver's declared bit width.
Parameters
other: The value to multiply by.
Effects: pure
Runtime behavior: available everywhere; synchronous
Examples
Convert a page count to bytes
let byteCount = 12u32 * 4096