summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/cast/ToInt.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/cast/ToInt.md')
-rw-r--r--docs/content/en/functions/cast/ToInt.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/functions/cast/ToInt.md b/docs/content/en/functions/cast/ToInt.md
index f82f029d5..c4bb10268 100644
--- a/docs/content/en/functions/cast/ToInt.md
+++ b/docs/content/en/functions/cast/ToInt.md
@@ -8,7 +8,7 @@ action:
- functions/cast/ToFloat
- functions/cast/ToString
returnType: int
- signatures: [cast/ToInt INPUT]
+ signatures: [cast.ToInt INPUT]
aliases: [/functions/int]
---
@@ -49,5 +49,5 @@ With a hexadecimal (base 16) input:
{{% note %}}
Values with a leading zero are octal (base 8). When casting a string representation of a decimal (base 10) number, remove leading zeros:
-`{{ strings/TrimLeft "0" "0011" | int }} → 11`
+`{{ strings.TrimLeft "0" "0011" | int }} → 11`
{{% /note %}}