Table of Contents

TAverageValue Record

This class is for internal use. It is used to calculate an average over a range of cells.

Syntax

Unit: FlexCel.Core

TAverageValue = record;

Fields

Name Description
Sum Contains the sum of the cells. The average is the Sum / ValueCount
ValueCount Contains the number of cells. The average is the Sum / ValueCount

Methods

Name Description
Create Creates a new TAverageValue

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.