<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Decimal/+(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So9NSDecimala10FoundationE1poiyA2B_ABtFZ"
  },
  "title" : "+(_:_:)"
}
-->

# +(_:_:)

Adds two decimal numbers.

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

## Parameters

`lhs`

A value to add.

`rhs`

Another value to add.

## Return Value

The result of adding `lhs` and `rhs`.

## 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`](/documentation/Foundation/NSDecimalNumber/RoundingMode/plain) rounding mode. To specify a different rounding mode, use the [`NSDecimalAdd(_:_:_:_:)`](/documentation/Foundation/NSDecimalAdd(_:_:_:_:)) function instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)