ROUNDER TOP UP – Rounder Top Up #
Time Rule Overview#
This time rule will round to the nearest tenth of an hour and create a record with a value of the difference between the rounded amount and the original amount.Requirements / Features#
- Time Rule Type Code: ROUNDER TOP UP
Another variation of this rule is the CLEARED_TOP_UP helper time rule.
- If this helper rule is defined, the top up record may carry over the prevailing rate from the last record. All other information will be cleared out.
Additional Info #
- Frequency predefined as Every Entry
Implementation#
The time rule should be set up in IDWR as shown below.Cycle | Frequency | Seq | Time Rule Type | Band | From | To | Value | Day | Time Code | Premium | Target Time Code Set | Apply Time Code Set | Action |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Every Entry | 1520 | Rounding Type [1] | No | No | Rounding Position [2] | Allowed | Allowed [3] | Allowed [3] | No | Allowed | Add |
[1] The Band should have one of the following values defined:
Rounding type | Band value |
---|---|
ROUND_UP | 0 |
ROUND_DOWN | 1 |
ROUND_CEILING | 2 |
ROUND_FLOOR | 3 |
ROUND_HALF_UP | 4 |
ROUND_HALF_DOWN | 5 |
ROUND_HALF_EVEN | 6 |
ROUND_UNNECESSARY | 7 |
[2] Number of decimals. If not defined, the default is 2.
- If the value is positive, the rounding will respect the defined Band.
- If the value is negative, the rounding will be at the corresponding integer.
[3] If a Time Code or Premium are not defined, the top up record will use the prevailing rate.