Returns the value of the mathematical constant Pi, accurate to 15 digits.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
PI()The PI function returns the value of the constant 3.14159265358979. It does not require any arguments and is commonly used in geometric calculations involving circles or spheres.
=PI()ผลลัพธ์: 3.14159265358979
Returns the value of Pi.
=PI()*5^2ผลลัพธ์: 78.5398163397448
Calculates the area of a circle with a radius of 5 using the formula πr².
No, the PI function does not accept any arguments and must be followed by empty parentheses.