Difference between revisions of "Manuals/calci/ISLOGICAL"

From ZCubes Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''ISLOGICAL(n)'''</div><br/>
+
<div style="font-size:30px">'''ISLOGICAL(Thing)'''</div><br/>
*<math>n</math> is the logical value
+
*<math>Thing</math> is any value
 +
**ISLOGICAL(),returns TRUE if the value is a logical value.
  
 
==Description==
 
==Description==
 
*This function is  one of the group in <math>ISFUNCTIONS</math>.
 
*This function is  one of the group in <math>ISFUNCTIONS</math>.
 
*The <math>IS FUNCTION</math>  is also known as data information functions, data inspection functions or data-testing functions.  
 
*The <math>IS FUNCTION</math>  is also known as data information functions, data inspection functions or data-testing functions.  
*<math>ISLOGICAL</math> is used to find the given <math>n</math>  is logical (true or false).  
+
*<math>ISLOGICAL</math> is used to find the given <math>Thing</math>  is logical (true or false).  
 
*This function is gives the result as TRUE when the given value is logical like either true or false otherwise this function will return the result as FALSE.
 
*This function is gives the result as TRUE when the given value is logical like either true or false otherwise this function will return the result as FALSE.
 
*Also true has value of '1' and false has taken value of '0'.  
 
*Also true has value of '1' and false has taken value of '0'.  
 
*For the <math>ISFUNCTION</math> the argument can be blank, or it can contain data such as text, numbers, error values, or logical values.
 
*For the <math>ISFUNCTION</math> the argument can be blank, or it can contain data such as text, numbers, error values, or logical values.
 +
 +
==ZOS==
 +
*The syntax is to calculate ISLOGICAL in ZOS is <math>ISLOGICAL(Thing)</math>.
 +
**<math>Thing</math> is the any value.
 +
*For e.g.,ISLOGICAL(1)
  
 
==Examples==
 
==Examples==
#ISLOGICAL(true)=TRUE
+
#=ISLOGICAL(true)=TRUE
#ISLOGICAL(false)=TRUE
+
#=ISLOGICAL(false)=TRUE
#ISLOGICAL(1)=TRUE
+
#=ISLOGICAL(1)=TRUE
#ISLOGICAL(0)=TRUE
+
#=ISLOGICAL(0)=TRUE
#ISLOGICAL(2)=FALSE
+
#=ISLOGICAL(2)=FALSE
#ISLOGICAL(-1)=FALSE
+
#=ISLOGICAL(-1)=FALSE
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|N1JBq_xlqvk|280|center|ISLOGICAL}}
  
 
==See Also==
 
==See Also==
Line 24: Line 34:
  
 
==References==
 
==References==
 +
[http://en.wikipedia.org/wiki/Is_functions Is functions]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 15:45, 2 July 2018

ISLOGICAL(Thing)


  • is any value
    • ISLOGICAL(),returns TRUE if the value is a logical value.

Description

  • This function is one of the group in .
  • The is also known as data information functions, data inspection functions or data-testing functions.
  • is used to find the given is logical (true or false).
  • This function is gives the result as TRUE when the given value is logical like either true or false otherwise this function will return the result as FALSE.
  • Also true has value of '1' and false has taken value of '0'.
  • For the the argument can be blank, or it can contain data such as text, numbers, error values, or logical values.

ZOS

  • The syntax is to calculate ISLOGICAL in ZOS is .
    • is the any value.
  • For e.g.,ISLOGICAL(1)

Examples

  1. =ISLOGICAL(true)=TRUE
  2. =ISLOGICAL(false)=TRUE
  3. =ISLOGICAL(1)=TRUE
  4. =ISLOGICAL(0)=TRUE
  5. =ISLOGICAL(2)=FALSE
  6. =ISLOGICAL(-1)=FALSE

Related Videos

ISLOGICAL

See Also

References

Is functions