mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 19:38:26 -05:00
20 lines
355 B
Markdown
20 lines
355 B
Markdown
|
---
|
||
|
title: math.ToRadians
|
||
|
description: ToRadians converts degrees into radians.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: []
|
||
|
related:
|
||
|
- functions/math/ToDegrees
|
||
|
- functions/math/Pi
|
||
|
returnType: float64
|
||
|
signatures: [math.ToRadians VALUE]
|
||
|
---
|
||
|
|
||
|
{{< new-in 0.130.0 >}}
|
||
|
|
||
|
```go-html-template
|
||
|
{{ math.ToRadians 90 }} → 1.5707963267948966
|
||
|
```
|