minEqual method

double minEqual(
  1. double value
)

If 'this' is greater than the given value, the value 'this' is returned, but if not, the value 'value' is returned.

Implementation

double minEqual(double value) {
  if (this >= value) {
    return toDouble();
  } else {
    return value;
  }
}