From 88bcb8769a07d1bad57b77fa9443b598fd1a6b61 Mon Sep 17 00:00:00 2001 From: Raik Rohde <64754924+Sett17@users.noreply.github.com> Date: Tue, 8 Aug 2023 23:53:33 +0200 Subject: [PATCH] fix(docs): correct function name in types.md (#1894) Corrected the function name from `float` to `int` in the documentation. --- docs/reference/types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/types.md b/docs/reference/types.md index 429d41c27..3979a4546 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