Operator
*(_:_:)
Multiplies an amount by an integer scalar.
static func * (lhs: BTCAmount, rhs: Int64) -> BTCAmount
Parameters
-
lhs
-
The amount to scale.
-
rhs
-
The integer multiplier.
Return Value
A BTCAmount with lhs.satoshis * rhs.
Discussion
Precondition
The product fits in Int64; traps on overflow.