Difference between revisions of "Manuals/calci/GESTEP"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''GESTEP(n,s)'''</div><br/>
+
<div style="font-size:30px">'''GESTEP (number,step)'''</div><br/>
*<math>n</math>  is the number.
+
*<math>number</math>  is the number.
*<math>s</math>  is the step to threshold a value.
+
*<math>step</math>  is the step to threshold a value.
  
 
==Description==
 
==Description==
 
*This function gives the result in a logical values (0 or 1).  
 
*This function gives the result in a logical values (0 or 1).  
 
*It is used to filter the values.  
 
*It is used to filter the values.  
*In <math>GESTEP(n,s)</math>, <math>n</math> is the number  to test against step and <math>s</math> is the step to threshold a value.  
+
*In <math>GESTEP(number,step)</math>, <math>n</math> is the number  to test against step and <math>s</math> is the step to threshold a value.  
*Here <math> n </math>  value is required and <math> s </math> is optional.  
+
*Here <math> number </math>  value is required and <math> step </math> is optional.  
*When we are not giving the <math> s </math> value, then it will assumed to be zero.  
+
*When we are not giving the <math> step </math> value, then it will assumed to be zero.  
*This function gives the result as 1, <math> n </math> value is greater than or equal to <math> s </math> value, or <math>0</math> otherwise.  
+
*This function gives the result as 1, <math> number </math> value is greater than or equal to <math> step </math> value, or <math>0</math> otherwise.  
 
*<math> GESTEP </math> should only be used with numbers.
 
*<math> GESTEP </math> should only be used with numbers.
  

Revision as of 18:20, 13 July 2018

GESTEP (number,step)


  • is the number.
  • is the step to threshold a value.

Description

  • This function gives the result in a logical values (0 or 1).
  • It is used to filter the values.
  • In , is the number to test against step and is the step to threshold a value.
  • Here value is required and is optional.
  • When we are not giving the value, then it will assumed to be zero.
  • This function gives the result as 1, value is greater than or equal to value, or otherwise.
  • should only be used with numbers.

Examples

  1. GESTEP(8,9) = 0
  2. GESTEP(9,8) = 1
  3. GESTEP(0,1) = 0
  4. GESTEP(0,0) = 1
  5. GESTEP(-1,0) = 0
  6. GESTEP(a,b) = Null

Related Videos

GESTEP

See Also

References