W3cubDocs

/Haxe

Int

no package

to Float

Available on all platforms

The standard Int type. Its precision depends on the platform.

On static targets, null cannot be assigned to Int. If this is necessary, Null<Int> can be used instead.

Std.int converts a Float to an Int, rounded towards 0. Std.parseInt converts a String to an Int.

See:

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/Int.html