Dart SDK
dart:core
num
toInt
toInt
Dart SDK
dart:core
num
toInt
abstract method
toInt
Source
Dart SDK
dart:core
num
Static methods
parse
Constructors
num
Properties
hashCode
isFinite
isInfinite
isNaN
isNegative
runtimeType
sign
Operators
operator %
operator *
operator +
operator -
operator /
operator <
operator <=
operator ==
operator >
operator >=
operator unary-
operator ~/
Methods
abs
ceil
ceilToDouble
clamp
compareTo
floor
floorToDouble
noSuchMethod
remainder
round
roundToDouble
toDouble
toInt
toString
toStringAsExponential
toStringAsFixed
toStringAsPrecision
truncate
truncateToDouble
int
toInt
(
)
Truncates this
num
to an integer and returns the result as an
int
.
Source
int toInt();
Cookies management controls