How PI() Works in MariaDB

In MariaDB, PI() is a built-in function that returns the value of the number π (pi).

The number π is a mathematical constant. It is defined as the ratio of a circle’s circumference to its diameter, and it also has various equivalent definitions. It is approximately equal to 3.141593, although its decimal representation never ends.

Read more