abs method

double? abs()

Returns the absolute value of this double.

Implementation

double? abs() {
  return value?.abs();
}