|
|
(8 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
− | <div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> | + | <div style="font-size:30px">'''SIGN(Number) '''</div><br/> |
| + | *<math>Number</math> is any real number. |
| + | **SIGN(), returns the sign of a number. |
| | | |
− | Syntax
| + | ==Description== |
| + | *This function gives the sign of a number. |
| + | *In <math>SIGN(Number)</math>, <math>Number </math>, is any real number. |
| + | *Suppose the <math>Number</math> value is a positive number ,then this function will return 1. |
| + | *When <math>Number</math> is a negative number, this function shows -1. |
| + | *Also <math>Number</math> is zero, this function shows 0. |
| + | *This function will shows the result as error when the <math>Number</math> value is non-numeric. |
| + | *Also when we are giving the <math>Number</math> value with Complex number, then it will consider only the real part of a Complex number. |
| | | |
− | </div></div>
| + | ==Examples== |
− | ---- | + | # =SIGN(56) = 1 |
− | <div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
| + | # =SIGN(-490) = -1 |
| + | # =SIGN(0) = 0 |
| + | # =SIGN(0.0000001) = 1 |
| | | |
− | Examples
| + | ==Related Videos== |
| | | |
− | </div></div>
| + | {{#ev:youtube|v=7VHwdmIUmw8|280|center|SIGN}} |
− | ----
| |
− | <div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
| |
− | ----
| |
− | <div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
| |
| | | |
− | <font size="5">Description</font>
| + | ==See Also== |
| + | *[[Manuals/calci/ABS| ABS]] |
| | | |
− | </div></div>
| + | ==References== |
− | ----
| + | *[http://en.wikipedia.org/wiki/Sign_%28mathematics%29 Sign] |
− | <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)
| |
| | | |
− | </div></div>
| + | *[[Z_API_Functions | List of Main Z Functions]] |
− | ----
| |
− | <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.
| + | *[[ Z3 | Z3 home ]] |
− | | |
− | </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>
| |