Manuals/calci/ENFORCENEGZEROPOS

From ZCubes Wiki
Revision as of 14:02, 12 September 2017 by Devika (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
  • 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

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

See Also

References