PI
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =PI() | PI() takes no arguments and returns the double-precision approximation of pi | 3.14159265358979 | 3.141592653589793 | Matched |
| =ROUND(PI(),4) | Common real-world usage: rounding PI() to a fixed number of decimals | 3.1416 | 3.1416 | Matched |
| =PI()*2 | PI() used directly in arithmetic (e.g. computing a full turn in radians) | 6.28318530717959 | 6.283185307179586 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation