Share via


DoubleSummaryStatistics.Average Property

Definition

Returns the arithmetic mean of values recorded, or zero if no values have been recorded.

public double Average { [Android.Runtime.Register("getAverage", "()D", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getAverage", "()D", "", ApiSince=24)>]
member this.Average : double

Property Value

the arithmetic mean of values, or zero if none

Attributes

Remarks

Returns the arithmetic mean of values recorded, or zero if no values have been recorded.

The computed average can vary numerically and have the special case behavior as computing the sum; see #getSum for details.

Java documentation for java.util.DoubleSummaryStatistics.getAverage().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to