PI Function

Returns the constant value of PI as a floating-point value.

Category: Mathematical
Returned data type: DOUBLE

Syntax

PI()

Details

The value of PI is 3.141593.

Example

The following statement illustrates the PI function:
Statements
Results
select pi();
3.141593