aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/functions/cast
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/functions/cast')
-rw-r--r--content/en/functions/cast/ToInt.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/en/functions/cast/ToInt.md b/content/en/functions/cast/ToInt.md
index f82f029d5..c4bb10268 100644
--- a/content/en/functions/cast/ToInt.md
+++ b/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 %}}