Difference between revisions of "Integer Divide Operator"
From GiderosMobile
Line 12: | Line 12: | ||
a=b//c -- faster than a=math.floor(b/c)</source> | a=b//c -- faster than a=math.floor(b/c)</source> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:36, 23 August 2018
Supported platforms: android, ios, mac, pc
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 |
EventsConstants |