VALUE
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.
| TYPE=VALUE | ||||
|---|---|---|---|---|
| Element | Attributes | Parent Element | Description | Element/Attribute Value |
|
<MathVariable> |
TYPE |
The actual value to be stored in the math variable. VALUE
|
||
|
|
Yes: the result is stored in AsActivityMath table to be used by other activities. No: result is not stored. This is the default behavior.
|
|||
|
|
Integer that sets the rounding for numeric data types. |
|||
|
CLEARVALUE |
Optional Element |
Value: Yes / No Default Value: No No: The value of the math variable will be retained after activity processing and will be displayed in the Math tab in the Activity details screen. |
||
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>