Updated on 2023-10-25 GMT+08:00

pi

This function is used to return the value of π.

Syntax

pi()

Return Values

The return value is of the DOUBLE type.

Example Code

The value 3.141592653589793 is returned.

select pi();