# Implicit Type Conversion (ITC)

Implicit type conversion is the automatic conversion of a value from one data type to another. Langstack applications support Implicit type conversion, where a smaller data type may be converted to a larger data type. This means that if the user attempts to update a variable of a larger data type with a value of a smaller data type, this can be applied directly without the user needing to explicitly express the type to convert to.&#x20;

For example, to assign an Integer data type to a Numerical data type, see the action below.&#x20;

In this Action, the value of variable `int1` (data type Integer) is updated to variable `num1` (data type Numerical) without explicitly mentioning the conversion function.

<figure><img src="https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2implicittypeconversion_img1.png" alt=""><figcaption></figcaption></figure>


---

# 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://docs.langstack.com/welcome/get-started/learn-langstack/basics-and-essentials/implicit-type-conversion-itc.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.
