---
url: /flow/guide/scripting-reference/functions/conversion/inttostr.md
---

# IntToStr

## Declaration

`Function IntToStr( Value : Extended) : string`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
var MyAmount : integer
begin
MyAmount := 123;
Value := IntToStr(MyAmount); //Value will be equal to '123'
end;
```

## Description

IntToStr converts a Integer into a String data type.

This is commonly used when you need to build a String and concatenate an integer value.
