{//% unless portal.user.is_agent %} Tickets
Welcome
Login Submit a Ticket News {//% endunless %}

Rules Factory - Tab Presentation: Library | Calculator | Accumulator

For each calculator and accumulator, there are some presentation settings. These do not affect the calculation, but they are used when presenting Legality results (Gantt, Legality Ruler, Reports, or Legality Detail Check).

The Result type indicates what is the expected result data type to be used by client application.

It is used only in HR Wizard to determine the type of data the calculator outputs. Usually all calculators with option "Accumulated" selected should have Result type defined. Otherwise, they will not be available in the HR Wizard.


The Duration represents a specific period of time. This expressed as a positive or negative number of Days, Hours, Minutes, Seconds, and fractions of a Second.

The Value display format field defines how to format the calculator output. A standard format string specifier used to define the text representation of this value. If not specified, default format(s) are used. Default format(s) are defined inside the library definition.


Value Display Format Examples

ValueDisplayExampleComment
durationhh:mm04:40
durationIIMM0466Industry format
date timeddMMM HHmm14JAN 2331
numeric0.002Number. Optional two-digit precision
numeric#.002.00number. Mandatory two-digit precision.
numeric0 km/h2km/hnumber with unit

It is not required to define Result type and Display format for every calculator. Legality will auto detect the Result type, and will use default Display Format. It is defined under Rules Factory - Library/Presentation Tab. 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.