summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/math
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2025-04-10 13:04:51 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2025-04-10 13:04:51 +0200
commit653f1c1d462332bccf303a5040e5cd99c89a4378 (patch)
treec993984f169a240567526e9993261241c0cda771 /docs/content/en/functions/math
parent208a0de6c31354df6f9463d49e90db9dec935169 (diff)
parent5be51ac3db225d5df501ed1fa1499c41d97dbf65 (diff)
downloadhugo-653f1c1d462332bccf303a5040e5cd99c89a4378.tar.gz
hugo-653f1c1d462332bccf303a5040e5cd99c89a4378.zip
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
Diffstat (limited to 'docs/content/en/functions/math')
-rw-r--r--docs/content/en/functions/math/Abs.md10
-rw-r--r--docs/content/en/functions/math/Acos.md17
-rw-r--r--docs/content/en/functions/math/Add.md15
-rw-r--r--docs/content/en/functions/math/Asin.md17
-rw-r--r--docs/content/en/functions/math/Atan.md17
-rw-r--r--docs/content/en/functions/math/Atan2.md17
-rw-r--r--docs/content/en/functions/math/Ceil.md12
-rw-r--r--docs/content/en/functions/math/Cos.md17
-rw-r--r--docs/content/en/functions/math/Counter.md18
-rw-r--r--docs/content/en/functions/math/Div.md15
-rw-r--r--docs/content/en/functions/math/Floor.md12
-rw-r--r--docs/content/en/functions/math/Log.md10
-rw-r--r--docs/content/en/functions/math/Max.md11
-rw-r--r--docs/content/en/functions/math/Min.md11
-rw-r--r--docs/content/en/functions/math/Mod.md11
-rw-r--r--docs/content/en/functions/math/ModBool.md11
-rw-r--r--docs/content/en/functions/math/Mul.md15
-rw-r--r--docs/content/en/functions/math/Pi.md17
-rw-r--r--docs/content/en/functions/math/Pow.md11
-rw-r--r--docs/content/en/functions/math/Product.md17
-rw-r--r--docs/content/en/functions/math/Rand.md10
-rw-r--r--docs/content/en/functions/math/Round.md12
-rw-r--r--docs/content/en/functions/math/Sin.md17
-rw-r--r--docs/content/en/functions/math/Sqrt.md11
-rw-r--r--docs/content/en/functions/math/Sub.md17
-rw-r--r--docs/content/en/functions/math/Sum.md17
-rw-r--r--docs/content/en/functions/math/Tan.md17
-rw-r--r--docs/content/en/functions/math/ToDegrees.md12
-rw-r--r--docs/content/en/functions/math/ToRadians.md12
-rw-r--r--docs/content/en/functions/math/_index.md7
30 files changed, 150 insertions, 263 deletions
diff --git a/docs/content/en/functions/math/Abs.md b/docs/content/en/functions/math/Abs.md
index 6e907d564..60d8d6d64 100644
--- a/docs/content/en/functions/math/Abs.md
+++ b/docs/content/en/functions/math/Abs.md
@@ -3,11 +3,11 @@ title: math.Abs
description: Returns the absolute value of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related: []
- returnType: float64
- signatures: [math.Abs VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Abs VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Acos.md b/docs/content/en/functions/math/Acos.md
index abdae4f74..32537e2dd 100644
--- a/docs/content/en/functions/math/Acos.md
+++ b/docs/content/en/functions/math/Acos.md
@@ -3,18 +3,11 @@ title: math.Acos
description: Returns the arccosine, in radians, of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Asin
- - functions/math/Atan
- - functions/math/Atan2
- - functions/math/Pi
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Tan
- returnType: float64
- signatures: [math.Acos VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Acos VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Add.md b/docs/content/en/functions/math/Add.md
index 25de514e0..cd137c6c7 100644
--- a/docs/content/en/functions/math/Add.md
+++ b/docs/content/en/functions/math/Add.md
@@ -3,16 +3,11 @@ title: math.Add
description: Adds two or more numbers.
categories: []
keywords: []
-action:
- aliases: [add]
- related:
- - functions/math/Div
- - functions/math/Mul
- - functions/math/Product
- - functions/math/Sub
- - functions/math/Sum
- returnType: any
- signatures: [math.Add VALUE VALUE...]
+params:
+ functions_and_methods:
+ aliases: [add]
+ returnType: any
+ signatures: [math.Add VALUE VALUE...]
---
If one of the numbers is a [`float`](g), the result is a `float`.
diff --git a/docs/content/en/functions/math/Asin.md b/docs/content/en/functions/math/Asin.md
index 0496a1b45..76114a72e 100644
--- a/docs/content/en/functions/math/Asin.md
+++ b/docs/content/en/functions/math/Asin.md
@@ -3,18 +3,11 @@ title: math.Asin
description: Returns the arcsine, in radians, of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Acos
- - functions/math/Atan
- - functions/math/Atan2
- - functions/math/Pi
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Tan
- returnType: float64
- signatures: [math.Asin VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Asin VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Atan.md b/docs/content/en/functions/math/Atan.md
index 942b3d2f2..5c8268b47 100644
--- a/docs/content/en/functions/math/Atan.md
+++ b/docs/content/en/functions/math/Atan.md
@@ -3,18 +3,11 @@ title: math.Atan
description: Returns the arctangent, in radians, of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Atan2
- - functions/math/Asin
- - functions/math/Acos
- - functions/math/Pi
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Tan
- returnType: float64
- signatures: [math.Atan VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Atan VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Atan2.md b/docs/content/en/functions/math/Atan2.md
index efa13b166..942fffdf8 100644
--- a/docs/content/en/functions/math/Atan2.md
+++ b/docs/content/en/functions/math/Atan2.md
@@ -3,18 +3,11 @@ title: math.Atan2
description: Returns the arctangent, in radians, of the given number pair, determining the correct quadrant from their signs.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Atan
- - functions/math/Asin
- - functions/math/Acos
- - functions/math/Pi
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Tan
- returnType: float64
- signatures: [math.Atan2 VALUE VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Atan2 VALUE VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Ceil.md b/docs/content/en/functions/math/Ceil.md
index 9f74991c3..22a9d0299 100644
--- a/docs/content/en/functions/math/Ceil.md
+++ b/docs/content/en/functions/math/Ceil.md
@@ -3,13 +3,11 @@ title: math.Ceil
description: Returns the least integer value greater than or equal to the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Floor
- - functions/math/Round
- returnType: float64
- signatures: [math.Ceil VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Ceil VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Cos.md b/docs/content/en/functions/math/Cos.md
index 3291b24f8..249a064bb 100644
--- a/docs/content/en/functions/math/Cos.md
+++ b/docs/content/en/functions/math/Cos.md
@@ -3,18 +3,11 @@ 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]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Cos VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Counter.md b/docs/content/en/functions/math/Counter.md
index 457806b8e..16456cec6 100644
--- a/docs/content/en/functions/math/Counter.md
+++ b/docs/content/en/functions/math/Counter.md
@@ -3,11 +3,11 @@ title: math.Counter
description: Increments and returns a global counter.
categories: []
keywords: []
-action:
- aliases: []
- related: []
- returnType: uint64
- signatures: [math.Counter]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: uint64
+ signatures: [math.Counter]
---
The counter is global for both monolingual and multilingual sites, and its initial value for each build is&nbsp;1.
@@ -27,9 +27,7 @@ Use this function to:
- Create unique warnings as shown above; the [`warnf`] function suppresses duplicate messages
- Create unique target paths for the `resources.FromString` function where the target path is also the cache key
-[`warnf`]: /functions/fmt/warnf/
-[`resources.FromString`]: /functions/resources/fromstring/
+> [!note]
+> Due to concurrency, the value returned in a given template for a given page will vary from one build to the next. You cannot use this function to assign a static id to each page.
-{{% note %}}
-Due to concurrency, the value returned in a given template for a given page will vary from one build to the next. You cannot use this function to assign a static id to each page.
-{{% /note %}}
+[`warnf`]: /functions/fmt/warnf/
diff --git a/docs/content/en/functions/math/Div.md b/docs/content/en/functions/math/Div.md
index b9f7a0a53..0e338a9e9 100644
--- a/docs/content/en/functions/math/Div.md
+++ b/docs/content/en/functions/math/Div.md
@@ -3,16 +3,11 @@ title: math.Div
description: Divides the first number by one or more numbers.
categories: []
keywords: []
-action:
- aliases: [div]
- related:
- - functions/math/Add
- - functions/math/Mul
- - functions/math/Product
- - functions/math/Sub
- - functions/math/Sum
- returnType: any
- signatures: [math.Div VALUE VALUE...]
+params:
+ functions_and_methods:
+ aliases: [div]
+ returnType: any
+ signatures: [math.Div VALUE VALUE...]
---
If one of the numbers is a [`float`](g), the result is a `float`.
diff --git a/docs/content/en/functions/math/Floor.md b/docs/content/en/functions/math/Floor.md
index 10ad758b6..dbfd8620e 100644
--- a/docs/content/en/functions/math/Floor.md
+++ b/docs/content/en/functions/math/Floor.md
@@ -3,13 +3,11 @@ title: math.Floor
description: Returns the greatest integer value less than or equal to the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Ceil
- - functions/math/Round
- returnType: float64
- signatures: [math.Floor VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Floor VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Log.md b/docs/content/en/functions/math/Log.md
index 84edcb288..123ffacd7 100644
--- a/docs/content/en/functions/math/Log.md
+++ b/docs/content/en/functions/math/Log.md
@@ -3,11 +3,11 @@ title: math.Log
description: Returns the natural logarithm of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related: []
- returnType: float64
- signatures: [math.Log VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Log VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Max.md b/docs/content/en/functions/math/Max.md
index 9beff5630..d3a7676fc 100644
--- a/docs/content/en/functions/math/Max.md
+++ b/docs/content/en/functions/math/Max.md
@@ -3,12 +3,11 @@ title: math.Max
description: Returns the greater of all numbers. Accepts scalars, slices, or both.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Min
- returnType: float64
- signatures: [math.Max VALUE...]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Max VALUE...]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Min.md b/docs/content/en/functions/math/Min.md
index 79e464c74..4f7d7b85a 100644
--- a/docs/content/en/functions/math/Min.md
+++ b/docs/content/en/functions/math/Min.md
@@ -3,12 +3,11 @@ title: math.Min
description: Returns the smaller of all numbers. Accepts scalars, slices, or both.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Max
- returnType: float64
- signatures: [math.Min VALUE...]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Min VALUE...]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Mod.md b/docs/content/en/functions/math/Mod.md
index d312730c5..6035a361e 100644
--- a/docs/content/en/functions/math/Mod.md
+++ b/docs/content/en/functions/math/Mod.md
@@ -3,12 +3,11 @@ title: math.Mod
description: Returns the modulus of two integers.
categories: []
keywords: []
-action:
- aliases: [mod]
- related:
- - functions/math/ModBool
- returnType: int64
- signatures: [math.Mod VALUE1 VALUE2]
+params:
+ functions_and_methods:
+ aliases: [mod]
+ returnType: int64
+ signatures: [math.Mod VALUE1 VALUE2]
---
```go-html-template
diff --git a/docs/content/en/functions/math/ModBool.md b/docs/content/en/functions/math/ModBool.md
index d915ff614..fc7813d67 100644
--- a/docs/content/en/functions/math/ModBool.md
+++ b/docs/content/en/functions/math/ModBool.md
@@ -3,12 +3,11 @@ title: math.ModBool
description: Reports whether the modulus of two integers equals 0.
categories: []
keywords: []
-action:
- aliases: [modBool]
- related:
- - functions/math/Mod
- returnType: bool
- signatures: [math.ModBool VALUE1 VALUE2]
+params:
+ functions_and_methods:
+ aliases: [modBool]
+ returnType: bool
+ signatures: [math.ModBool VALUE1 VALUE2]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Mul.md b/docs/content/en/functions/math/Mul.md
index bc143c5ef..69f2dbe1b 100644
--- a/docs/content/en/functions/math/Mul.md
+++ b/docs/content/en/functions/math/Mul.md
@@ -3,16 +3,11 @@ title: math.Mul
description: Multiplies two or more numbers.
categories: []
keywords: []
-action:
- aliases: [mul]
- related:
- - functions/math/Add
- - functions/math/Div
- - functions/math/Product
- - functions/math/Sub
- - functions/math/Sum
- returnType: any
- signatures: [math.Mul VALUE VALUE...]
+params:
+ functions_and_methods:
+ aliases: [mul]
+ returnType: any
+ signatures: [math.Mul VALUE VALUE...]
---
If one of the numbers is a [`float`](g), the result is a `float`.
diff --git a/docs/content/en/functions/math/Pi.md b/docs/content/en/functions/math/Pi.md
index f2cf92c7a..0bc74bf03 100644
--- a/docs/content/en/functions/math/Pi.md
+++ b/docs/content/en/functions/math/Pi.md
@@ -3,18 +3,11 @@ title: math.Pi
description: Returns the mathematical constant pi.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Tan
- - functions/math/Asin
- - functions/math/Acos
- - functions/math/Atan
- - functions/math/Atan2
- returnType: float64
- signatures: [math.Pi]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Pi]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Pow.md b/docs/content/en/functions/math/Pow.md
index 5a1482d73..a4384305d 100644
--- a/docs/content/en/functions/math/Pow.md
+++ b/docs/content/en/functions/math/Pow.md
@@ -3,12 +3,11 @@ title: math.Pow
description: Returns the first number raised to the power of the second number.
categories: []
keywords: []
-action:
- aliases: [pow]
- related:
- - functions/math/Sqrt
- returnType: float64
- signatures: [math.Pow VALUE1 VALUE2]
+params:
+ functions_and_methods:
+ aliases: [pow]
+ returnType: float64
+ signatures: [math.Pow VALUE1 VALUE2]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Product.md b/docs/content/en/functions/math/Product.md
index 1809c560d..ffb1afe46 100644
--- a/docs/content/en/functions/math/Product.md
+++ b/docs/content/en/functions/math/Product.md
@@ -3,20 +3,13 @@ title: math.Product
description: Returns the product of all numbers. Accepts scalars, slices, or both.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Add
- - functions/math/Div
- - functions/math/Mul
- - functions/math/Sub
- - functions/math/Sum
- returnType: float64
- signatures: [math.Product VALUE...]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Product VALUE...]
---
-{{< new-in 0.114.0 />}}
-
```go-html-template
{{ math.Product 1 (slice 2 3) 4 }} → 24
```
diff --git a/docs/content/en/functions/math/Rand.md b/docs/content/en/functions/math/Rand.md
index cae6455c0..d659e651f 100644
--- a/docs/content/en/functions/math/Rand.md
+++ b/docs/content/en/functions/math/Rand.md
@@ -3,11 +3,11 @@ title: math.Rand
description: Returns a pseudo-random number in the half-open interval [0.0, 1.0).
categories: []
keywords: []
-action:
- aliases: []
- related: []
- returnType: float64
- signatures: [math.Rand]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Rand]
---
{{< new-in 0.121.2 />}}
diff --git a/docs/content/en/functions/math/Round.md b/docs/content/en/functions/math/Round.md
index e0678eb78..6bc015ce7 100644
--- a/docs/content/en/functions/math/Round.md
+++ b/docs/content/en/functions/math/Round.md
@@ -3,13 +3,11 @@ title: math.Round
description: Returns the nearest integer, rounding half away from zero.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Ceil
- - functions/math/Floor
- returnType: float64
- signatures: [math.Round VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Round VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Sin.md b/docs/content/en/functions/math/Sin.md
index 37936d714..b5ab86bb8 100644
--- a/docs/content/en/functions/math/Sin.md
+++ b/docs/content/en/functions/math/Sin.md
@@ -3,18 +3,11 @@ title: math.Sin
description: Returns the sine of the given radian number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Pi
- - functions/math/Cos
- - functions/math/Tan
- - functions/math/Asin
- - functions/math/Acos
- - functions/math/Atan
- - functions/math/Atan2
- returnType: float64
- signatures: [math.Sin VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Sin VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/Sqrt.md b/docs/content/en/functions/math/Sqrt.md
index 436cb31c3..b2f49fdbd 100644
--- a/docs/content/en/functions/math/Sqrt.md
+++ b/docs/content/en/functions/math/Sqrt.md
@@ -3,12 +3,11 @@ title: math.Sqrt
description: Returns the square root of the given number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Pow
- returnType: float64
- signatures: [math.Sqrt VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Sqrt VALUE]
---
```go-html-template
diff --git a/docs/content/en/functions/math/Sub.md b/docs/content/en/functions/math/Sub.md
index 9f211ef1b..49459cd71 100644
--- a/docs/content/en/functions/math/Sub.md
+++ b/docs/content/en/functions/math/Sub.md
@@ -1,18 +1,13 @@
---
title: math.Sub
-description: Subtracts one or more numbers from the first number.
+description: Subtracts one or more numbers from the first number.
categories: []
keywords: []
-action:
- aliases: [sub]
- related:
- - functions/math/Add
- - functions/math/Div
- - functions/math/Mul
- - functions/math/Product
- - functions/math/Sum
- returnType: any
- signatures: [math.Sub VALUE VALUE...]
+params:
+ functions_and_methods:
+ aliases: [sub]
+ returnType: any
+ signatures: [math.Sub VALUE VALUE...]
---
If one of the numbers is a [`float`](g), the result is a `float`.
diff --git a/docs/content/en/functions/math/Sum.md b/docs/content/en/functions/math/Sum.md
index 5cf882bee..e14bc924b 100644
--- a/docs/content/en/functions/math/Sum.md
+++ b/docs/content/en/functions/math/Sum.md
@@ -2,20 +2,13 @@
title: math.Sum
description: Returns the sum of all numbers. Accepts scalars, slices, or both.
categories: []
-action:
- aliases: []
- related:
- - functions/math/Add
- - functions/math/Div
- - functions/math/Mul
- - functions/math/Product
- - functions/math/Sub
- returnType: float64
- signatures: [math.Sum VALUE...]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Sum VALUE...]
---
-{{< new-in 0.114.0 />}}
-
```go-html-template
{{ math.Sum 1 (slice 2 3) 4 }} → 10
```
diff --git a/docs/content/en/functions/math/Tan.md b/docs/content/en/functions/math/Tan.md
index a8691fbca..c4f861c05 100644
--- a/docs/content/en/functions/math/Tan.md
+++ b/docs/content/en/functions/math/Tan.md
@@ -3,18 +3,11 @@ title: math.Tan
description: Returns the tangent of the given radian number.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/Pi
- - functions/math/Sin
- - functions/math/Cos
- - functions/math/Asin
- - functions/math/Acos
- - functions/math/Atan
- - functions/math/Atan2
- returnType: float64
- signatures: [math.Tan VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.Tan VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/ToDegrees.md b/docs/content/en/functions/math/ToDegrees.md
index 54473be72..f01cd4728 100644
--- a/docs/content/en/functions/math/ToDegrees.md
+++ b/docs/content/en/functions/math/ToDegrees.md
@@ -3,13 +3,11 @@ title: math.ToDegrees
description: ToDegrees converts radians into degrees.
categories: []
keywords: []
-action:
- aliases: []
- related:
- - functions/math/ToRadians
- - functions/math/Pi
- returnType: float64
- signatures: [math.ToDegrees VALUE]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.ToDegrees VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/ToRadians.md b/docs/content/en/functions/math/ToRadians.md
index c587c023c..b5acbb65b 100644
--- a/docs/content/en/functions/math/ToRadians.md
+++ b/docs/content/en/functions/math/ToRadians.md
@@ -3,13 +3,11 @@ 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]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: float64
+ signatures: [math.ToRadians VALUE]
---
{{< new-in 0.130.0 />}}
diff --git a/docs/content/en/functions/math/_index.md b/docs/content/en/functions/math/_index.md
index 76713bc99..c58a5a704 100644
--- a/docs/content/en/functions/math/_index.md
+++ b/docs/content/en/functions/math/_index.md
@@ -1,11 +1,6 @@
---
title: Math functions
linkTitle: math
-description: Template functions to perform mathematical operations.
+description: Use these functions to perform mathematical operations.
categories: []
-menu:
- docs:
- parent: functions
---
-
-Use these functions to perform mathematical operations.