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: