TEASum

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TEASum(const TEA: TExtArray): Extended;

Availability

SCAR Divi 3.38 > Current

Description

Returns the sum of all extended values in the given TExtArray TEA.

Example

begin
  WriteLn(TEASum([0.1, 1.2, 3.5, 4.6]));
end.

Output:

8.4