Dart SDK
dart:core
num
toInt
toInt
Dart SDK
dart:core
num
toInt
method
toInt
Source
Dart SDK
dart:core
num
Static methods
parse
Properties
hashCode
isFinite
isInfinite
isNaN
isNegative
runtimeType
sign
Constructors
num
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
Truncates this
num
to an integer and returns the result as an
int
.
Source
int toInt();