diff options
author | Micky <micheledevita2@gmail.com> | 2024-03-01 00:59:28 +0100 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2024-03-01 15:32:38 +0100 |
commit | c54e09a5a304c1578689f5b98cfee41c24d95848 (patch) | |
tree | 04462c423e8f592708c07b3e3d68932ea1b64019 /doc/classes/int.xml | |
parent | 7d2ca2d8ac49cde9767e00b70f9eaf1920eb266d (diff) | |
download | redot-engine-c54e09a5a304c1578689f5b98cfee41c24d95848.tar.gz |
Overhaul some "uncommon" wording in class reference
Diffstat (limited to 'doc/classes/int.xml')
-rw-r--r-- | doc/classes/int.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <description> 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] |