Numeric Modifiers
A numeric token displays or performs a mathematical calculation using a string of tokens and mathematical symbols (example: Calculate the total cost of labor of a Labor Cost Item by multiplying the work hours by the monetary rate).
The format of the numeric value must be taken into consideration when applying numeric modifiers to tokens.
The following modifiers can be applied to numeric tokens.
Absolute Value |
Returns the absolute value of the original. Example:
|
Format | |
Hours to Time Format |
Converts hours to a specified time format:
|
Math |
Allows for simple math operators to be applied against the value in the token. Note: Users cannot use values from other tokens as part of the calculation. To use values from other tokens in the calculation, use a Numeric Expression. The math modifier supports these operators:
|
Minutes to Time Format |
Converts minutes to a specified time format:
|
Number to Logical |
Converts a number to a logical value. This is useful when formatting a result based on whether the value is 0 or not. The value 0 will be converted to False. Any other value will be converted to True. |
Round |
Rounds a number to a specified number of decimal places. Example:
|
Seconds to Time Format |
Converts seconds to a specified time format.
|
Truncate |
Removes the decimal component of a number. Example:
|