Contents

/=(_:_:)

Divides the first value by the second and stores the quotient in the left-hand-side variable.

Declaration

static func /= (a: inout Int128, b: Int128)

Discussion

For integer types, any remainder of the division is discarded.

var x = 21
x /= 5
// x == 4