Absolute value
- Last Updated: August 10, 2020
- 1 minute read
- Corticon
- Documentation
SYNTAX
<Number>.absVal
Returns the absolute value of <Number>. If the
<Number> is positive, <Number>
itself is returned; if <Number> is negative, the negation of
<Number> is returned.
The Operators row in the table of Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
This sample Rulesheet uses .absVal to produce the absolute value of decimal2 and assign it to decimal1
![]()
A sample Ruletest provides decimal2 values for
three different scenarios of Entity1. Input and Output panels are
shown below.
![]()