PI (TSQL Function)

Returns the value of the constant PI.

Syntax

PI ( )

Return Types

Returns float.

Examples

PRINT PI();

The result is:

3.141592653589793
RSQL, a simple alternative to Microsoft SQL Server