Топ-100
 

PI

База данных: MySQL
Текст

Syntax:
PI()

Returns the value of ? (pi). The default number of decimal places
displayed is seven, but MySQL uses the full double-precision value
internally.

URL: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html

Пример

mysql> SELECT PI();
-> 3.141593
mysql> SELECT PI()+0.000000000000000000;
-> 3.141592653589793116