Int
Int (Abstract)
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: https://haxe.org/manual/types-basic-types.html, https://haxe.org/manual/std-math-integer-math.html, https://haxe.org/manual/types-nullability.html
Type Conversions
To:
[Float](/api-docs/clay-native/Float/)
Metadata
Name | Parameters |
---|---|
:notNull |
- |