Description
Returns the constant value of PI
().
Sample Source Pattern
Syntax
Arguments
This method does not receive any parameters.
Return Type
Float.
Examples
CREATE PROCEDURE CIRCUMFERENCE @radius float
AS
SELECT 2 * PI() * @radius;
GO:
EXEC CIRCUMFERENCE @radius = 2;
CIRCUMFERENCE @radius = 2 |
--------------------------+
12.5663706143592|