Javatpoint Logo
Javatpoint Logo

MySQL PI() Function

The pi() is a Math function of MySQL. This function is used to get the value of pi upto 6 decimal places.

Syntax

Returns

This function returns the value of ? (pi) displayed with 6 decimal places.

Example 1

Output:


MySQL Math PI() Function

Example 2

Output:


MySQL Math PI() Function
Next TopicMySQL Math




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA