Difference between revisions of "Manuals/calci/IN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''IN()'''</div><br/> ==Description== *This function is the tester function of with in array values. *In <math>IN()</math>,the first parameter is ...")
 
Line 1: Line 1:
<div style="font-size:30px">'''IN()'''</div><br/>
+
=IN()=
 +
 
 +
IN()  is the tester function of with in array values.
  
 
==Description==
 
==Description==
*This function is the tester function of with in array values.
+
IN()
*In <math>IN()</math>,the first parameter is the value to test and the second parameter is the set of array values.
+
 
 +
*The first parameter is the value to test and the second parameter is the set of array values.
 
*This function will return the result as TRUE when the given number is with in given set of values.
 
*This function will return the result as TRUE when the given number is with in given set of values.
 
*Also will return the result as FALSE when the given number is not with in given set of values.
 
*Also will return the result as FALSE when the given number is not with in given set of values.

Revision as of 16:33, 4 January 2018

IN()

IN() is the tester function of with in array values.

Description

IN()

  • The first parameter is the value to test and the second parameter is the set of array values.
  • This function will return the result as TRUE when the given number is with in given set of values.
  • Also will return the result as FALSE when the given number is not with in given set of values.

Examples

  1. IN(3,[1,4,9]) = false
  2. IN(-4,[-10,-9,-8,-7,-6,-5,-4,-3,-2,-1]) = true
  3. IN(3.1,[3.001,3.2,3.01,3.9]) = false
  4. IN("j",["a","j","i","p"]) = true

See Also

References