Integer Divide Operator

From GiderosMobile
Revision as of 02:22, 13 February 2020 by MoKaLux (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