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