Difference between revisions of "Manuals/calci/SIGN"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<div style="font-size:30px">'''SIGN(n)'''</div><br/> | <div style="font-size:30px">'''SIGN(n)'''</div><br/> | ||
*<math>n</math> is any real number. | *<math>n</math> is any real number. | ||
− | |||
==Description== | ==Description== | ||
*This function gives the sign of a number. | *This function gives the sign of a number. | ||
− | *In <math>SIGN(n), n </math>, | + | *In <math>SIGN(n)</math>, <math>n </math>, is any real number. |
− | *Suppose the <math>n</math> value is a positive number ,then this function will | + | *Suppose the <math>n</math> value is a positive number ,then this function will return 1. |
*When <math>n</math> is a negative number, this function shows -1. | *When <math>n</math> is a negative number, this function shows -1. | ||
− | *Also <math>n</math> is zero, this function shows | + | *Also <math>n</math> is zero, this function shows 0. |
− | *This function will shows the result as error when the n value is | + | *This function will shows the result as error when the <math>n</math> value is non-numeric. |
− | *Also when we are giving the | + | *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== | ||
Line 17: | Line 16: | ||
# =SIGN(0) = 0 | # =SIGN(0) = 0 | ||
# =SIGN(0.0000001) = 1 | # =SIGN(0.0000001) = 1 | ||
− | |||
==See Also== | ==See Also== |
Revision as of 01:37, 30 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 return 1.
- When is a negative number, this function shows -1.
- Also is zero, this function shows 0.
- This function will shows the result as error when the value is non-numeric.
- Also when we are giving the value with Complex number, then it will consider only the real part of a Complex number.
Examples
- =SIGN(56) = 1
- =SIGN(-490) = -1
- =SIGN(0) = 0
- =SIGN(0.0000001) = 1