<< Click to Display Table of Contents >> Navigation: Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions > Func49_ApplyMathOperator |
Description
This function applies the selected mathematical operator between the two operands specified.
NOTE: This function supersedes Functions 11-14, which are deprecated.
Processing Notes
This function goes through the following steps to derive the required answer:
•Start with the first operand and apply the selected operator to the second operand.
•If "Round up" is checked, the answer is then rounded up to the nearest integer value.
Inputs
Parameter |
Explanation |
---|---|
Operand 1 |
A numerical value or tag that will resolve to a numerical value. Supports tags as well as AA-specific tags. |
Operand 2 |
A numerical value or tag that will resolve to a numerical value. Supports tags as well as AA-specific tags. |
Operator |
The operator that will be used to perform the mathematical operation. Only +, -, *, /, ^, and & are supported. + - addition - - subtraction * - multiplication / - division ^ - raise to the power of & - logical AND |
Round up |
A checkbox that is sent as -1 if the answer is to be rounded up to the nearest integer value, 0 if not. |
Outputs
Result |
Result Explanation |
Confidence Adjustment |
Return Value |
---|---|---|---|
True |
No processing errors occured |
N |
<result of mathematical operation> |
False |
N/A (this function does not return a False path) |
N/A |
N/A |
Else |
A non-supported operator was supplied or a processing error was encountered |
Y |
0 |