DocsFunctionsmathmath.Cosmath.CosReturns the cosine of the given radian number.Syntaxmath.Cos VALUEReturnsfloat64 New in v0.130.0{{ math.Cos 1 }} → 0.5403023058681398 Last updated: January 31, 2025 : Improve new-in shortcode (367d3a7ab)Improve this page