Difference between revisions of "Manuals/calci/ENFORCENEGATIVE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''ENFORCENEGATIVE(Number)'''</div><br/> *<math>Number</math> is any real number. == Description == *This function converts or enforces the given...")
 
 
Line 6: Line 6:
 
*This function converts or enforces the given number or set of numbers to negative value.  
 
*This function converts or enforces the given number or set of numbers to negative value.  
 
*If the <math>Number</math> is negative, it is retained as negative only.
 
*If the <math>Number</math> is negative, it is retained as negative only.
 +
*Number 'zero' is natural number, neither positive nor negative.
 
*The argument can also be a result of any function.
 
*The argument can also be a result of any function.
  
Line 23: Line 24:
 
|  negative || -5 || -5
 
|  negative || -5 || -5
 
|-
 
|-
|  negative || -4 || 4  
+
|  negative || -4 || -4  
 
|-
 
|-
 
|  negative || -3 || -3
 
|  negative || -3 || -3

Latest revision as of 20:52, 13 April 2017

ENFORCENEGATIVE(Number)


  • is any real number.

Description

  • This function converts or enforces the given number or set of numbers to negative value.
  • If the is negative, it is retained as negative only.
  • Number 'zero' is natural number, neither positive nor negative.
  • The argument can also be a result of any function.


Examples

  1. ENFORCENEGATIVE(44) = -44
  2. ENFORCENEGATIVE(2.45) = -2.45
  3. ENFORCENEGATIVE(-407) = -407
  4. ENFORCENEGATIVE(SUM([5,30])) = -35

For a set of numbers, the function displays a table as follows -

  • ENFORCENEGATIVE(-5..5)=
Nature Number ENFORCETYPE
negative -5 -5
negative -4 -4
negative -3 -3
negative -2 -2
negative -1 -1
negative 0 0
negative 1 -1
negative 2 -2
negative 3 -3
negative 4 -4
negative 5 -5

Related Videos

INT Function

See Also


References