

# PI function
<a name="PI"></a>

The PI function returns the value of pi to 14 decimal places. 

## Syntax
<a name="PI-synopsis"></a>

```
PI()
```

## Return type
<a name="PI-return-type"></a>

`DOUBLE PRECISION`

## Examples
<a name="PI-examples"></a>

To return the value of pi, use the following example.

```
SELECT PI();

+-------------------+
|        pi         |
+-------------------+
| 3.141592653589793 |
+-------------------+
```