HUGO
Menu
GitHub 89144 stars Mastodon

math.Cos

Returns the cosine of the given radian number.

Syntax

math.Cos VALUE

Returns

float64
{{ math.Cos 1 }} → 0.5403023058681398

Last updated: January 1, 0001
Improve this page