mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 08:22:06 -05:00
9d2b5f98d0
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>
466 B
466 B
title | description | categories | keywords | action | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
math.Cos | Returns the cosine of the given radian number. |
|
{{< new-in 0.130.0 >}}
{{ math.Cos 1 }} → 0.5403023058681398