ILOG JRules User Guide > Customizing JRules > Tasks > Customizing Rule Scenario Manager > Type Precisions Used in Input and Output Parameter Tests

The INPUT_PARAMETERS and OUTPUT_PARAMETERS tests provide results that take into account the type precision defined by the scenario's configuration.

For example, consider an input/output parameters test such as the following:

    <input-parameters>
      <entry>
        <string>coucou</string>
        <package.ObjectName>
          <value type="double">10.356</value>
        </package.ObjectName>
      </entry>
    </input-parameters>
 
CONTAINS
 
    <input-parameters>
      <entry>
        <string>coucou</string>
        <package.ObjectName>
          <value type="double">10.357</value>
        </package.ObjectName>
      </entry>
    </input-parameters>

The result of the test is TRUE using a double precision of 10E3 and FALSE using a double precision of 10E4.

Rule Scenario Manager takes into account the following precision of types in tests:

Related Concepts

Tests
Data and Datasets
Execution Trace

Related Task

Configuring Rule Scenario Manager Extensions