mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 18:22:58 -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>
475 B
475 B
title | description | categories | keywords | action | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
math.Asin | Returns the arcsine, in radians, of the given number. |
|
{{< new-in 0.130.0 >}}
{{ math.Asin 1 }} → 1.5707963267948966