math.Tan
Returns the tangent of the given radian number.
Syntax
math.Tan VALUE
Returns
float64
{{ math.Tan 1 }} → 1.557407724654902Last updated:
May 21, 2026
:
Merge commit 'c23d97904fd31ef745bece57133aa1b9275ec20c' (a7081fd10)
Improve this pageHugo Documentation

Syntax
Returns
{{ math.Tan 1 }} → 1.557407724654902