Manuals/calci/ENFORCEPOSITIVE
ENFORCEPOSITIVE(Number)
- is any real number.
Description
- This function converts or enforces the given number or set of numbers to positive value.
- If the is positive, it is retained as positive only.
- Number 'zero' is natural number, neither positive nor negative.
- The argument can also be a result of any function.
Examples
- ENFORCEPOSITIVE(-44) = 44
- ENFORCEPOSITIVE(-2.45) = 2.45
- ENFORCEPOSITIVE(407) = 407
- ENFORCEPOSITIVE(SUM([-5,-30])) = 35
For a set of numbers, the function displays a table as follows -
- ENFORCEPOSITIVE(-5..5)=
Nature | Number | ENFORCETYPE |
---|---|---|
positive | -5 | 5 |
positive | -4 | 4 |
positive | -3 | 3 |
positive | -2 | 2 |
positive | -1 | 1 |
positive | 0 | 0 |
positive | 1 | 1 |
positive | 2 | 2 |
positive | 3 | 3 |
positive | 4 | 4 |
positive | 5 | 5 |
Related Videos
See Also
References