Several edits to the GDScript docs
This commit is contained in:
parent
d1943f6a77
commit
bf96056ad0
2 changed files with 37 additions and 49 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue