Difference between revisions of "Manuals/calci/ENFORCENEGZEROPOS"

From ZCubes Wiki
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 ...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
==Description==
 
==Description==
 
*This function converts or enforces the given number or set of numbers to positive integer value.
 
*This function converts or enforces the given number or set of numbers to positive integer value.
 +
*In <math>ENFORCENEGZEROPOS(Number)</math>,<math>Number</math> 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.
 
*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 positive, it is retained as positive only.
 
*If the Number is negative, it is converted in to positive  number.
 
*If the Number is negative, it is converted in to positive  number.
 
*Number "zero" is natural number, neither positive nor negative.
 
*Number "zero" is natural number, neither positive nor negative.
 
*We can use the argument as result of any function.
 
*We can use the argument as result of any function.
 +
  
 
==Examples==
 
==Examples==
Line 15: Line 18:
 
# ENFORCENEGZEROPOS(12.78) = 12
 
# ENFORCENEGZEROPOS(12.78) = 12
 
# ENFORCENEGZEROPOS(-821.89) = 821
 
# ENFORCENEGZEROPOS(-821.89) = 821
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=Hlal9ME2Aig|280|center|Numbers}}
  
 
==See Also==
 
==See Also==

Latest revision as of 14:20, 7 February 2019

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

Related Videos

Numbers

See Also

References