mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-27 17:21:12 +00:00
This commit adds these new template functions in the `math` namespace: math.Acos math.Asin math.Atan math.Atan2 math.Cos math.Pi math.Sin math.Tan math.ToDegrees math.ToRadians Co-authored-by: Joe Mooring <joe@mooring.com>
446 B
446 B
title | description | categories | keywords | action | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
math.Pi | Returns the mathematical constant pi. |
|
{{< new-in 0.130.0 >}}
{{ math.Pi }} → 3.141592653589793