pi

Description

Returns the constant value 3.1415926535897936.

Syntax

pi()

Parameters

None

Examples

Example 1

select pi()
-------------------
          3.141593

Usage

pi, a mathematical function, returns the constant value of 3.1415926535897931.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute pi.

See also

For general information about mathematical functions, see “Mathematical functions”.

Functions degrees, radians