math.Pi
Returns the mathematical constant pi.
- Syntax
- math.Pi
- Returns
- float64
Usage
The math.Pi function returns the mathematical constant pi.
Examples
{{ math.Pi }} → 3.141592653589793Last updated:
October 21, 2026
:
content: Apply style guide to math functions (658ef2b60)
Improve this page