From 455e142d37c993a0c80ff5241a10ae9327e46d43 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 17 Sep 2021 12:22:48 -0300 Subject: Allow comparing equality between builtin types and null --- doc/classes/int.xml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'doc/classes/int.xml') diff --git a/doc/classes/int.xml b/doc/classes/int.xml index 32b5fe1012..dd523185df 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -66,6 +66,11 @@ 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. + + + + + @@ -173,17 +178,17 @@ - - + + - Adds an [int] to a [float]. The result is a [float]. + Adds two integers. - - + + - Adds two integers. + Adds an [int] to a [float]. The result is a [float]. @@ -260,6 +265,11 @@ Returns [code]true[/code] the left integer is less than or equal to the right one. + + + + + -- cgit v1.2.3