/// <inheritdoc /> /// <remarks>Consider using <see cref="Equals(FuelEfficiency, double, ComparisonType)"/> for safely comparing floating point values.</remarks> public bool Equals(FuelEfficiency other) { return(_value.Equals(other.GetValueAs(this.Unit))); }
/// <inheritdoc /> public int CompareTo(FuelEfficiency other) { return(_value.CompareTo(other.GetValueAs(this.Unit))); }