abs method - BigInt class - dart:core library (original) (raw)
abs abstract method
BigInt abs()
Returns the absolute value of this integer.
For any integer x
, the result is the same as x < 0 ? -x : x
.
Implementation
BigInt abs();
BigInt abs()
Returns the absolute value of this integer.
For any integer x
, the result is the same as x < 0 ? -x : x
.
BigInt abs();