Math.AddingUp

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

Math.AddingUp


 

Calculate the integrated value.

 


syntax

Math.AddingUp(

         initial,

         val,

         max

         [,min]

         )

 


Parameters

 

initial

 

Type:

Number

 

Current accumulated value.

 

val

 

Type:

Number (array)

 

Specify the range of rotary counter (ring counter) values for which you want to find the integrated value as an array.

 

max

 

Type:

Number

 

The maximum value of a rotary counter.

 

min

 

Type:

Number

 

The minimum value of the rotary counter. Default is 0.

 

Return Value

 

 

Type:

Number

 

Accumulated value.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference