From c54e09a5a304c1578689f5b98cfee41c24d95848 Mon Sep 17 00:00:00 2001 From: Micky Date: Fri, 1 Mar 2024 00:59:28 +0100 Subject: Overhaul some "uncommon" wording in class reference --- doc/classes/int.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/int.xml') diff --git a/doc/classes/int.xml b/doc/classes/int.xml index 9d168c60e2..c38b0fa38e 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -6,7 +6,7 @@ Signed 64-bit integer type. This means that it can take values from [code]-2^63[/code] to [code]2^63 - 1[/code], i.e. from [code]-9223372036854775808[/code] to [code]9223372036854775807[/code]. When it exceeds these bounds, it will wrap around. [int]s can be automatically converted to [float]s when necessary, for example when passing them as arguments in functions. The [float] will be as close to the original integer as possible. - Likewise, [float]s can be automatically converted into [int]s. This will truncate the [float], discarding anything after the floating point. + Likewise, [float]s can be automatically converted into [int]s. This will truncate the [float], discarding anything after the floating-point. [b]Note:[/b] In a boolean context, an [int] will evaluate to [code]false[/code] if it equals [code]0[/code], and to [code]true[/code] otherwise. [codeblocks] [gdscript] -- cgit v1.2.3