summaryrefslogtreecommitdiff
path: root/doc/classes/int.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-18 21:47:12 +0200
committerGitHub <noreply@github.com>2021-08-18 21:47:12 +0200
commit5aecce775edf59c4e1a481178837c3df04deb7ef (patch)
treeb735211e351937de5e3a0b40407184f1810e5819 /doc/classes/int.xml
parentf6626a40e5abc0d2fa2ece53ce501df716841c09 (diff)
parent70c0154cbee58d006107f8b4ca0e53b9dff553cc (diff)
Merge pull request #51848 from aaronfranke/float-doc
Improve the docs for the float type
Diffstat (limited to 'doc/classes/int.xml')
-rw-r--r--doc/classes/int.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/int.xml b/doc/classes/int.xml
index 84a01aa0d0..32b5fe1012 100644
--- a/doc/classes/int.xml
+++ b/doc/classes/int.xml
@@ -327,11 +327,13 @@
<method name="operator unary+" qualifiers="operator">
<return type="int" />
<description>
+ Returns the same value as if the [code]+[/code] was not there. Unary [code]+[/code] does nothing, but sometimes it can make your code more readable.
</description>
</method>
<method name="operator unary-" qualifiers="operator">
<return type="int" />
<description>
+ Returns the negated value of the [int]. If positive, turns the number negative. If negative, turns the number positive. If zero, does nothing.
</description>
</method>
<method name="operator |" qualifiers="operator">