MySQLNumeric FunctionsPI
SIGN

PINumeric Functions

DEGREES

Returns the value of pi.

Syntax

PI()

Example

Enter values below to update the example in real time.

radius
area
circles
-- 원의 넓이 계산
SELECT radius, ROUND(PI() * POWER(radius, 2), 2) AS area
FROM circles;