---
title: "/=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/uint128/_=(_:_:)-6xh2i"
---

# /=(_:_:)

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

## Declaration

```swift
static func /= (a: inout UInt128, b: UInt128)
```

## Discussion

Discussion For integer types, any remainder of the division is discarded. var x = 21 x /= 5 // x == 4
