10.4.3 Integer Math

If you are targeting a platform that can utilize integer operations, e.g. integer division, it should be wrapped in Std.int() for improved performance. The Haxe Compiler can then optimize for integer operations. An example:

    var intDivision = Std.int(6.2/4.7);

Take the Haxe Survey!