---
title: "/(_:_:)"
framework: foundation
role: symbol
role_heading: Operator
path: "foundation/decimal/_(_:_:)"
---

# /(_:_:)

Divides one decimal number by another.

## Declaration

```swift
static func / (lhs: Decimal, rhs: Decimal) -> Decimal
```

## Parameters

- `lhs`: The value to divide.
- `rhs`: The value to divide lhs by.

## Return Value

Return Value The result of dividing lhs by rhs.

## Discussion

Discussion If the result of this operation requires more precision than the Decimal type can provide, the result is rounded using the NSDecimalNumber.RoundingMode.plain rounding mode. To specify a different rounding mode, use the NSDecimalDivide(_:_:_:_:) function instead.
