# Find a currency

To find a Currency that either belongs to one of the [Common Currencies](/common-currencies.md) or one that you have [registered](/registering-a-currency.md) you can use the `Currencies().find` method.

```dart
    test('Find a currency', () {
      // Find a registered currency via its code.
      final audCurrency = Currencies().find('AUD');
      final audCostPrice = Money.fromIntWithCurrency(899, audCurrency!);
      expect(audCostPrice.currency.isoCode, equals('AUD'));
    });
```

The Money parser is also able to automatically find a currency if the currency code is a Common Currency or one you have registered.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://money2.onepub.dev/find-a-currency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
