Difference between revisions of "Integer Divide Operator"

From GiderosMobile
Line 20: Line 20:
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}
 +
 +
{{GIDEROS IMPORTANT LINKS}}

Revision as of 03:22, 13 February 2020


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.png
Available since: Gideros 2017.10

Description


Divide a number to a whole number.

a=b // c   Put the integer result of divide 'b' by 'c' into 'a'.

Examples

Simple example

 
a=b//c -- faster than a=math.floor(b/c)

Methods

Events

Constants