<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentCurrencyAmount/init(amount:currencyCode:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents20IntentCurrencyAmountV6amount12currencyCodeACSo9NSDecimala_SStcfc"
  },
  "title" : "init(amount:currencyCode:)"
}
-->

# init(amount:currencyCode:)

Creates a IntentCurrencyAmount from a monetary amount and a currency code.

```
init(amount: Decimal, currencyCode: String)
```

## Parameters

`amount`

monetary amount

`currencyCode`

ISO 4217 currency code that applies to the monetary amount.

---

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)