# double {#double}

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

## Syntax {#syntax}

`double(X)`

## Arguments {#arguments}

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

## Details {#details}

Convert the input to the data type of DOUBLE.

## Examples {#examples}

```
// create a DOUBLE variable with default value 0
x=double();
x;
// output: 00F
typestr x;
// output: DOUBLE

typestr double(`10);
// output: DOUBLE

double(`10.9);
// output: 10.9

double(now());
// output: 5.297834e+011
```

