Difference between revisions of "Manuals/calci/NOT"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="4SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | + | =NOT(l)= | |
− | + | *where <math>l</math> is a logical value or expression to be evaluated. | |
− | + | NOT() returns a reverse value of the argument, and is used to verify if a value is not equal to a particular value. | |
− | |||
− | |||
− | + | == Description == | |
− | + | NOT(l) | |
− | |||
− | |||
− | + | For Example, | |
− | + | NOT(TRUE) ''returns FALSE'' | |
− | |||
− | |||
− | |||
− | |||
− | < | + | NOT(2+3<4) ''returns TRUE'' |
− | < | + | *This function displays the output as TRUE or FALSE. |
− | + | *<math>l</math> can be a value or expression that evaluates as TRUE(logical 1) or FALSE(logical 0). | |
− | + | *If <math>l</math> evaluates TRUE(or 1), calci returns reverse output as FALSE(or 0). | |
− | + | *If <math>l</math> evaluates FALSE(or 0), calci returns reverse output as TRUE(or 1). | |
− | < | + | *If <math>l</math> > 0, Calci assumes it to be one (1) and returns FALSE as output. |
+ | *If argument is omitted, Calci assumes it to be zero (0) and returns TRUE as output. | ||
− | + | == Examples == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div id="6SpaceContent" class="zcontent" align="left"> | <div id="6SpaceContent" class="zcontent" align="left"> | ||
{| id="TABLE3" class="SpreadSheet blue" | {| id="TABLE3" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
− | + | | class=" " | '''Function''' | |
− | + | | class=" " | '''Output''' | |
− | + | ||
− | | class=" " | | ||
− | | class=" " | | ||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |NOT(FALSE) | |
− | + | | class="sshl_f" |TRUE | |
− | | class="sshl_f" | | + | |
− | | class="sshl_f" | | ||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |NOT(1) | |
− | + | | class="sshl_f" |FALSE | |
− | + | ||
− | | class="sshl_f | ||
− | |||
− | | class="sshl_f" | | ||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |NOT() | |
− | | class="sshl_f" | | + | | class="sshl_f" |TRUE |
− | | class="sshl_f" | | + | |
− | |||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |NOT((2*3)>(3*2)) | |
− | + | | class="sshl_f" |TRUE | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | class="sshl_f" | | ||
− | | class="sshl_f" | | ||
|} | |} | ||
− | + | ==See Also== | |
− | + | ||
− | + | *[[Manuals/calci/OR | OR]] | |
+ | *[[Manuals/calci/AND | AND]] | ||
+ | *[[Manuals/calci/TRUE | TRUE]] | ||
+ | *[[Manuals/calci/FALSE | FALSE]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Bitwise_operation Bitwise Operation] |
Revision as of 16:38, 29 December 2013
NOT(l)
- where is a logical value or expression to be evaluated.
NOT() returns a reverse value of the argument, and is used to verify if a value is not equal to a particular value.
Description
NOT(l)
For Example,
NOT(TRUE) returns FALSE
NOT(2+3<4) returns TRUE
- This function displays the output as TRUE or FALSE.
- can be a value or expression that evaluates as TRUE(logical 1) or FALSE(logical 0).
- If evaluates TRUE(or 1), calci returns reverse output as FALSE(or 0).
- If evaluates FALSE(or 0), calci returns reverse output as TRUE(or 1).
- If > 0, Calci assumes it to be one (1) and returns FALSE as output.
- If argument is omitted, Calci assumes it to be zero (0) and returns TRUE as output.
Examples
Function | Output |
NOT(FALSE) | TRUE |
NOT(1) | FALSE |
NOT() | TRUE |
NOT((2*3)>(3*2)) | TRUE |