MySQL PI() Function

Example

Return the value of PI:

SELECT PI();
Try it Yourself »

Definition and Usage

The PI() function returns the value of PI.

Note: See also the DEGREES() and RADIANS() functions.

Syntax

PI()

Technical Details

Works in: From MySQL 4.0

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.