THE WORLD'S LARGEST WEB DEVELOPER SITE

MySQL PI() Function

❮ MySQL Functions

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

❮ MySQL Functions