pi

Description

Returns the constant value 3.1415926535897936.

Syntax

pi()

Parameters

None

Examples

Example 1

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

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute pi.

See also

Functions degrees, radians