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 also:

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