Difference between revisions of "Manuals/calci/SIGN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
*This function will shows the result as error when the n value is nonnumeric.
 
*This function will shows the result as error when the n value is nonnumeric.
 
*Also when we are giving the  <math>n</math> value with Complex number, then it will consider only the real part of a Complex number.
 
*Also when we are giving the  <math>n</math> value with Complex number, then it will consider only the real part of a Complex number.
 
  
 
==Examples==
 
==Examples==

Revision as of 03:51, 10 January 2014

SIGN(n)


  • is any real number.


Description

  • This function gives the sign of a number.
  • In , is any real number.
  • Suppose the value is a positive number ,then this function will reurn 1.
  • When is a negative number, this function shows -1.
  • Also is zero, this function shows o.
  • This function will shows the result as error when the n value is nonnumeric.
  • Also when we are giving the value with Complex number, then it will consider only the real part of a Complex number.

Examples

  1. =SIGN(56) = 1
  2. =SIGN(-490) = -1
  3. =SIGN(0) = 0
  4. =SIGN(0.0000001) = 1


See Also

References