# int {#int}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`int(X)`

## Arguments {#arguments}

**X** can be data of any types.

## Details {#details}

Convert X to the data type of INT.

## Examples {#examples}

```
x=int();
x;
// output: 00i

typestr x;
// output: INT

int(`10.9);
// output: 10

int(2147483647);
// output: 2147483647

int(2147483648);
// output: 00i
// the maximum value for an INT is 2^31-1=2147483647
```

