Func12_ReturnQuotient

<< Click to Display Table of Contents >>

Navigation:  Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions >

Func12_ReturnQuotient

 

DEPRECATED - SEE FUNCTION 49

 

Description

This function returns the quotient of two numbers.  The operands are either passed in as constant values, or if either of the constant values are 0, then the operands are expected to be the results of previous rule definitions.

 

Processing Notes

The constant values are first checked to see if both are non-zero.  If so, the quotient returned will be formed based on the constant values.  Otherwise, the results from two rule definitions defined will be used to calculate a quotient.

 

Inputs

 

Parameter

Explanation

Round result up to the next whole number

Set to 'yes' (checked) to have quotient rounded up to the next whole integer.

Constant values 1 and 2

If both are non-zero, then the quotient will be formed based on the constant values.  (Constant1 / Constant2)  Otherwise, the quotient will be formed based on the most recent results from the two rule definitions specified.

Rule definition result 1

A rule definition number that has a value to use for the dividend.  Quotient will be result of RD1 / result of RD2.

Rule definition result 2

A rule definition number that has a value to use for the divisor.  Quotient will be result of RD1 / result of RD2.

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

If the calculation is successful.

 

Quotient

False

n/a

 

 

Else

If useable parameters are not presented.

If a runtime error is encountered.

If divide by 0 is attempted.

Y

0