Difference between revisions of "Manuals/calci/NOT"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
*This function displays the output as TRUE or FALSE. | *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). | *<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 | + | *If <math>l</math> evaluates TRUE(or 1), calci returns reverse output as FALSE. |
− | *If <math>l</math> evaluates FALSE(or 0), calci returns reverse output as TRUE | + | *If <math>l</math> evaluates FALSE(or 0), calci returns reverse output as TRUE. |
*If <math>l</math> > 0, Calci assumes it to be one (1) and returns FALSE as output. | *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. | *If argument is omitted, Calci assumes it to be zero (0) and returns TRUE as output. |
Revision as of 16:41, 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.
- If evaluates FALSE(or 0), calci returns reverse output as TRUE.
- 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 |