Documentation/Calc Functions/PI

From The Document Foundation Wiki
Jump to: navigation, search

Function name:

PI

Category:

Mathematical

Summary:

Returns the approximate value of the mathematical constant π, rounded to 14 decimal places.

Syntax:

PI()

Returns:

3.14159265358979, which is the approximate value of π in radians, rounded to 14 decimal places.

Arguments:

None.

Additional details:

  • π is an irrational number, which can be defined as the ratio of a circle's circumference to its diameter.
  • If angle in degrees is multiplied by PI()/180, its corresponding radian value is obtained.

Examples:

Formula Description Returns
=PI() function returns value of π with precision upto 14 decimal places 3.14159265358979 (radians)
=4*4*PI() the area in cm2 of a circle of radius 4 cm where area of circle is given by π*(radius)2 50.2654824574367 (radians)

Related LibreOffice functions:

RADIANS

DEGREES

ODF standard:

Section 6.16.45, part 2

Equivalent Excel functions:

PI