VALUE

Description

Use the VALUE type to assign a literal or fixed value to a MathVariable.  This is also useful for initializing.  MathVariables store the last executed value. 

VALUE Element/Attribute Table
TYPE=VALUE      
Element Attributes Attribute Value Element Value

<MathVariable>

TYPE

VALUE

The actual value to be stored in the math variable.

 

LOG

Yes: the result is stored in AsActivityMath table to be used by other activities. 

No: result is not stored. This is the default behavior.  

 

ROUND

Integer that sets the rounding for numeric data types.


XML Example

<MathVariable VARIABLENAME="MyVariableName" TYPE="VALUE" DATATYPE="INTEGER">1</MathVariable>
<MathVariable VARIABLENAME="True" TYPE="VALUE" DATATYPE="INTEGER">1</MathVariable>
<MathVariable VARIABLENAME="ReplacementType" TYPE="VALUE" DATATYPE="TEXT">01</MathVariable>