Dart API Referencedart:corenum

num Interface

Extends

Comparable, Hashable

Subinterfaces

double, int

Methods

Code num abs() #

num abs();

Code num ceil() #

num ceil();

Code num floor() #

num floor();

Code bool isInfinite() #

bool isInfinite();

Code bool isNaN() #

bool isNaN();

Code bool isNegative() #

bool isNegative();

Code bool operator >=(num other) #

bool operator >=(num other);

Code bool operator >(num other) #

bool operator >(num other);

Code bool operator <=(num other) #

bool operator <=(num other);

Code num operator %(num other) #

num operator %(num other);

Code num operator -(num other) #

num operator -(num other);

Code bool operator <(num other) #

bool operator <(num other);

Code num operator *(num other) #

num operator *(num other);

Code double operator /(num other) #

double operator /(num other);

Code num operator ~/(num other) #

num operator ~/(num other);

Code num operator negate() #

num operator negate();

Code num operator +(num other) #

num operator +(num other);

Code num remainder(num other) #

num remainder(num other);

Code num round() #

num round();

Code double toDouble() #

double toDouble();

Code int toInt() #

int toInt();

Code String toRadixString(int radix) #

String toRadixString(int radix);

Code String toStringAsExponential(int fractionDigits) #

String toStringAsExponential(int fractionDigits);

Code String toStringAsFixed(int fractionDigits) #

String toStringAsFixed(int fractionDigits);

Code String toStringAsPrecision(int precision) #

String toStringAsPrecision(int precision);

Code num truncate() #

num truncate();