mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 01:23:54 -05:00
25 lines
466 B
Markdown
25 lines
466 B
Markdown
|
---
|
||
|
title: math.Cos
|
||
|
description: Returns the cosine of the given radian number.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: []
|
||
|
related:
|
||
|
- functions/math/Pi
|
||
|
- functions/math/Sin
|
||
|
- functions/math/Tan
|
||
|
- functions/math/Asin
|
||
|
- functions/math/Acos
|
||
|
- functions/math/Atan
|
||
|
- functions/math/Atan2
|
||
|
returnType: float64
|
||
|
signatures: [math.Cos VALUE]
|
||
|
---
|
||
|
|
||
|
{{< new-in 0.130.0 >}}
|
||
|
|
||
|
```go-html-template
|
||
|
{{ math.Cos 1 }} → 0.5403023058681398
|
||
|
```
|