Home » MySQL Math PI() Function

MySQL Math PI() Function

by Online Tutorials Library

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

You may also like