summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/types.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/types.md b/docs/reference/types.md
index 429d41c2..3979a454 100644
--- a/docs/reference/types.md
+++ b/docs/reference/types.md
@@ -46,7 +46,7 @@ integers, integers cannot be smaller than `{-9223372036854775808}` or larger tha
The number can also be specified as hexadecimal, octal, or binary by starting it
with a zero followed by either `x`, `o`, or `b`.
-You can convert a value to an integer with the [`float`]($func/float) function.
+You can convert a value to an integer with the [`int`]($func/int) function.
## Example
```example