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