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
sign
runtimeType
Operators
operator %
operator *
operator +
operator -
operator /
operator <
operator <=
operator ==
operator >
operator >=
operator unary-
operator ~/
Methods
abs
ceil
ceilToDouble
clamp
compareTo
floor
floorToDouble
remainder
round
roundToDouble
toDouble
toInt
toString
toStringAsExponential
toStringAsFixed
toStringAsPrecision
truncate
truncateToDouble
noSuchMethod
int
toInt
(
)
Truncates this
num
to an integer and returns the result as an
int
.
Source
int toInt();