math.Cos
Returns the cosine of the given radian number.
Syntax
math.Cos VALUE
Returns
float64
{{ math.Cos 1 }} → 0.5403023058681398Last updated:
April 10, 2025
:
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65' (283e97783)
Improve this pageHugo Documentation

Syntax
Returns
{{ math.Cos 1 }} → 0.5403023058681398