Difference between revisions of "Manuals/calci/ENFORCENEGZEROPOS"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''ENFORCENEGZEROPOS(Number)'''</div><br/> *<math>Number</math> is any real number. ==Description== *This function converts or enforces the given ...") |
(No difference)
|
Revision as of 15:02, 12 September 2017
ENFORCENEGZEROPOS(Number)
- is any real number.
Description
- This function converts or enforces the given number or set of numbers to positive integer value.
- Integer is the number without any decimal or fractional part but it can be the natural number with positive or negative sign.
- If the Number is positive, it is retained as positive only.
- If the Number is negative, it is converted in to positive number.
- Number "zero" is natural number, neither positive nor negative.
- We can use the argument as result of any function.
Examples
- ENFORCENEGZEROPOS(90) = 90
- ENFORCENEGZEROPOS(-45) = 45
- ENFORCENEGZEROPOS(12.78) = 12
- ENFORCENEGZEROPOS(-821.89) = 821
See Also
References