diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-03 13:32:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 13:32:32 +0100 |
commit | 9a0610c1ff17c598b16defa5cd300e7a116fc3bc (patch) | |
tree | f57c39aefd226240ada7d7576d74161c54deb054 /doc | |
parent | a84ad91280dabed66f786504dc2b796468bc742c (diff) | |
parent | bf96056ad07365638ddbb96e4eac52c16b38b4c3 (diff) |
Merge pull request #43959 from dalexeev/gds-doc
Several edits to the GDScript docs
Diffstat (limited to 'doc')
-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 b0d0a4bd7b..a63c509937 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -70,7 +70,7 @@ <argument index="0" name="from" type="float"> </argument> <description> - Cast a float value to an integer value, this method simply removes the number fractions, so for example [code]int(2.7)[/code] will be equals to 2, [code]int(.1)[/code] will be equals to 0 and [code]int(-2.7)[/code] will be equals to -2. + Cast a float value to an integer value, this method simply removes the number fractions (i.e. rounds [code]from[/code] towards zero), so for example [code]int(2.7)[/code] will be equals to 2, [code]int(0.1)[/code] will be equals to 0 and [code]int(-2.7)[/code] will be equals to -2. This operation is also called truncation. </description> </method> <method name="operator !=" qualifiers="operator"> |