> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Currency

> Find monetary amounts with the Currency element in the FlexiLayout language: currency names, name position, value ranges, and fractional separators.

The **Currency** element supports the following parameters in the FlexiLayout language.

## Currency parameters

| Parameter                                        | Description                                                                                                                                                                                                                                                                   |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Void AllowFractionalPartOmission( Logic )`      | Specifies whether the numerical value must have a fractional part. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Allow missing fractional part** property.                                                                                       |
| `Void AllowSeparatorOmission( Logic )`           | Specifies whether the fractional part separator is required in the numerical value. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Allow missing separator** property.                                                                            |
| `Void CurrencyNames( String )`                   | Specifies the possible currency names. The variants must be separated by a vertical bar (`\|`). See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Currency name** property.                                                                          |
| `Void CurrencyOmissionQuality( Real )`           | Sets the penalty for a missing currency name. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Missing name penalty** property.                                                                                                                     |
| `Void CurrencyPosition( CurrencyPositionTypes )` | Sets the location of the currency name, to the left or to the right of the numerical value. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Currency name position** property.                                                                     |
| `Void FindOnlyIntegers( Logic )`                 | Finds only integers. Symbols set by the `Separators` function (or in the corresponding dialog box) are ignored. `AllowSeparatorOmission` is automatically set to `true` and `AllowFractionalPartOmission` is automatically set to `false`.                                    |
| `Void MaximalValue( Real )`                      | Sets the maximum numerical value. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Maximum value** property.                                                                                                                                        |
| `Void MaxXOutsidePart( Real )`                   | Specifies the part of the character that may extend beyond the search area horizontally. The part of the character is specified by a number from `0` to `1`. Those characters are included in the hypothesis that have the specified or smaller part outside the search area. |
| `Void MaxYOutsidePart( Real )`                   | Specifies the part of the character that may extend beyond the search area vertically. The part of the character is specified by a number from `0` to `1`. Those characters are included in the hypothesis that have the specified or smaller part outside the search area.   |
| `Void MaxRelativeGapInLine( Real )`              | The maximum distance between neighboring characters expressed as a percentage of the line height.                                                                                                                                                                             |
| `Void MinimalValue( Real )`                      | Sets the minimum numerical value. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Minimum value** property.                                                                                                                                        |
| `Void Separators( String )`                      | Sets the symbols which can be used to separate the integer and fractional parts of the numerical value. See the [**Currency** dialog box](/flexi-capture/fls/template/currency), **Possible fractional part separators** property.                                            |
| `Void AllowedTextRotations( TextRotations )`     | Specifies a set of orientations of the recognized text in which an element search is allowed.                                                                                                                                                                                 |

## Examples

Example for `CurrencyNames`:

```text theme={null}
Currency: "USD|$|EUR|EURO";
```

Example for `CurrencyPosition`:

```text theme={null}
CurrencyPosition: CurrencyPos_Left;
```

Example for `Separators`:

```text theme={null}
Separators: ",.";
```
