[{TableOfContents }]

!!!Scale Round Definition

!!Time Rule Overview

!!Time Rule Type Code  - SCALE ROUND DFN

This helper time rule controls the scale and rounding type, defined in the Band, for the [Daily Percent Top Up|TR_DY_PERCENT_TP_UP] time rule ONLY.

The Value field controls the number of decimals that the result will be rounded to. 

%%information Note: If the Value field is left blank, this time rule rule will NOT check for a null value, but will return a pop up error message to the user for an undetermined exception. Defining a number in the Value field will resolve this error.%% 


!!Additional Info
* Frequency predefined as Never


!!Implementation
||[Cycle|CYCLE_NUMBER]||[Frequency|FREQUENCY]||[Seq|SEQUENCE]||[Time Rule Type|TIME_RULE_TYPE_TEXT]||[Band|QUALIFYING_BAND]||[From|FROM_CLOCK_TIME]||[To|TO_CLOCK_TIME]||[Value|VALUE]||[Day|DAY_OF_WEEK]||[Time Code|TIME_CODE_VALUE]||[Premium|PREMIUM_CODE]||[Target Time Code Set|TARGET_TIME_CODE_SET]|| [Apply Time Code Set|APPLY_TIME_CODE_SET]||[Action|TIME_RULE_ACTION]
| |Never|1490| |Rounding Type [1]|No|No|# of decimals to round to|No|No|No|No|No|No


[1] The band of the time should have the following values:
||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 


----
![Notes|Edit:Internal.TR_SCALE_ROUND_DFN]
[{InsertPage page='Internal.TR_SCALE_ROUND_DFN' default='Click to create a new notes page'}]