Math.Summary

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

Math.Summary


 

Calculates aggregate values (total, average, maximum, minimum).

 


syntax

Math.Summary(

         type,

         value1

         [,value2]

         [,value3]

         ...

         [,valueX]

         )

 


Parameters

 

type

 

Type:

character

 

The type of aggregate value you want

"sum" - Sum value

"ave" - average value

"max" - maximum value

"min" - The minimum value

 

value[x]

 

Type:

Number

 

Source data. Can be specified as an array. Arguments can also be listed at the end. (There is no limit to the number of arguments that can be listed.)

 

Return Value

 

 

Type:

Number

 

The result value.

 

 


hmtoggle_plus1Example

 

 

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference