Difference Range Normalizer
The difference range normalizer compares the following numeric values (integer or decimal) to ranges of differences specified in the normalizer:
- The difference between two numeric MATRIXX Data Container (MDC) fields.
- The difference between two numeric catalog item parameters.
- The difference between a numeric MDC field and a numeric catalog item parameter.
The difference is normalized to a value that falls within one of the decimal ranges defined in the normalizer. The Charging Server then uses the normalization value associated with that range. Optionally, you can store the difference in a data modify action workspace.
The normalizer produces values for the ranges of differences. An example is shown in
Difference Range Normalizer Values Example:
Range | Normalized Value |
---|---|
-infinity to -5 | 0 |
-5 to 0 | 1 |
0 to 5 | 2 |
5 to infinity | 3 |
Note: The bottom values of the range are inclusive and top
values are exclusive.
For example, compare a subscription offer's
RecurringSuccessCycleCount
or IntervalId
with an
MDC field or parameter so that different behavior can be applied on specific cycles,
such as discounts only being provided on specific cycles (as defined by the parameter
value).