Manuals/calci/ENFORCENEGZEROPOS

From ZCubes Wiki
Revision as of 13:40, 26 September 2017 by Devika (talk | contribs)
Jump to navigation Jump to search
ENFORCENEGZEROPOS(Number)


  • is any real number.

Description

  • This function converts or enforces the given number or set of numbers to positive integer value.
  • In , is any real number.
  • Integer is the number without any decimal or fractional part but it can be the natural number with positive or negative sign.
  • Generally Positive integer number is also called natural numbers or counting numbers.
  • 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

  1. ENFORCENEGZEROPOS(90) = 90
  2. ENFORCENEGZEROPOS(-45) = 45
  3. ENFORCENEGZEROPOS(12.78) = 12
  4. ENFORCENEGZEROPOS(-821.89) = 821

See Also

References