# string {#string}

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

## Syntax {#syntax}

`string(X)`

## Arguments {#arguments}

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

## Details {#details}

Convert X to a string.

## Examples {#examples}

```
string()=="";
// output: 1
string(10);

// output: 10

typestr string(108.5);
// output: STRING

string(now());
// output: 2016.03.02T20:55:31.287
```

