> ## 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.

# Conversion of Types

> Understanding implicit type conversions supported in the FlexiLayout language

The FlexiLayout language supports implicit conversion of types.

## Standard Conversions

* `Int` → `Real`
* `Rect` → `Region`
* `XCoordinate` → `XInterval`
* `YCoordinate` → `YInterval`
* `Distance` → `DistInterval`

## Conversions That May Result in Errors

The following conversions are allowed in the language, but may result in an error. For example, conversion `XCoordinate` → `Distance` with a subsequent conversion `Distance` → `YCoordinate` may lead to an error of converting an X-coordinate into a Y-coordinate.

If you use such conversions in your code, the compiler will display a warning message.

* `Distance` → `XCoordinate`
* `Distance` → `YCoordinate`
* `XCoordinate` → `Distance`
* `YCoordinate` → `Distance`
* `DistInterval` → `XInterval`
* `DistInterval` → `YInterval`
* `Xinterval` → `DistInterval`
* `Yinterval` → `DistInterval`
