Integer Divide Operator

From GiderosMobile
Revision as of 14:55, 31 August 2018 by Hgy29 (talk | contribs)

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