Difference between revisions of "Manuals/calci/SIGN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...")
 
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''SIGN(n)'''</div><br/>
 +
*<math>n</math> is any real number.
  
Syntax
 
  
</div></div>
+
==Description==
----
+
*This function gives the sign of a number.
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
*In <math>SIGN(n), n </math>,  is any real number.
 +
*Suppose the <math>n</math> value is a positive number ,then this function will reurn 1.
 +
*When  <math>n</math> is  a negative number, this function shows -1. 
 +
*Also  <math>n</math> 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  <math>n</math> value with Complex number, then it will consider only the real part of a Complex number.
  
Examples
 
  
</div></div>
+
==Examples==
----
+
# =SIGN(56) = 1
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
+
# =SIGN(-490) = -1
----
+
# =SIGN(0) = 0
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
+
# =SIGN(0.0000001) = 1
  
<font size="5">Description</font>
 
  
</div></div>
+
==See Also==
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">'''''' '''<font size="6">SIGN</font>''' '''''' </font>'''</div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><br /><div id="9Space" class="gamizbox" title="9Space"><div id="9SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="9SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="9SpaceRollupContent" align="center"></span></span></div><div id="9SpaceCover"><div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
1.       Consider n = 10 then<br />=SIGN (10) gives 1 (1 represents a positive number)
 
  
2.       Consider n = -3.5 then<br />=SIGN (-3.5) gives 0 (-1 represents a negative number)
+
==References==
 
 
</div></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left"><br /><div id="1Space" class="gamizbox" title="1Space"><div id="1SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="1SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="1SpaceRollupContent" align="center"></span></span></div><div id="1SpaceCover"><div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
A SIGN function determines the sign of a number and gives<br /> 1 if the number is positive<br /> 0 if the number is 0 <br /> 1 if the number is negative.
 
 
 
</div></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><br /><div id="7Space" class="gamizbox" title="7Space"><div id="7SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="7SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="7SpaceRollupContent" align="center"></span></span></div><div id="7SpaceCover"><div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
'''SIGN'''('''n''')
 
 
 
'''n''' is any real number.
 
 
 
</div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div>
 
 
 
{| id="TABLE1" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| class="      " | Column2
 
| class="    " | Column3
 
| class="  " |
 
| class="  " | Column4
 
|
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 10
 
| class="sshl_f" | 1
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | -3.5
 
| class="sshl_f" | -1
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f" |
 
| class="sshl_f SelectTD SelectTD" |
 
<div id="4Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="4Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
| class="  " |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
| class=" " |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| Row6
 
| class="sshl_f  " |
 
<div id="4Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
|
 
| class="sshl_f" |
 
|
 
|
 
|}
 
 
 
<div align="left"></div>''''''</div></div>
 
----
 
</div></div></div></div></div></div></div></div></div>
 

Revision as of 02:49, 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