FANDOM


An integer is a 32 bit number which can contain values from -2147483647 up to 2147483647.[1]

Arithmetic OperatorsEdit

The basic arithmetic operators such as +, -, * and / can be applied to integers.

function arithmetic_example takes nothing returns nothing
   local integer foo = 9
   local integer bar
   set bar = foo / 2 // == 4 (integer division)
endfunction

ReferencesEdit

  1. http://jass.sourceforge.net/doc/types.shtml

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.