<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "s:13DataDetection0A8DetectorO5MatchV15SemanticDetailsO11MoneyAmountV"
  },
  "title" : "DataDetector.Match.SemanticDetails.MoneyAmount"
}
-->

# DataDetector.Match.SemanticDetails.MoneyAmount

A match that the data detector determines represents an amount of money.

```
struct MoneyAmount
```

## Discussion

The framework returns [`currency`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount/currency) as the match’s currency, though it may be a best guess.
The [`amount`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount/amount) is the amount of money in the specified currency.

## Topics

### Properties that describe elements of the amount

[`let amount: Decimal`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount/amount)

A value that represents the amount of money in the specified currency.

[`let currency: Locale.Currency`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount/currency)

A value that represents the currency the data detectors were able to match, though it may be a best guess.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Encodable`](/documentation/Swift/Encodable)

[`Copyable`](/documentation/Swift/Copyable)

---

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)