Difference between revisions of "Manuals/calci/ISODD"

From ZCubes Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''ISODD(n)'''</div><br/>
+
<div style="font-size:30px">'''ISODD (Number)'''</div><br/>
*<math>n</math> is the value to test.
+
*<math>Number</math> is any number to test.
 +
**ISODD(), returns TRUE if the number is odd.
 +
 
 
==Description==
 
==Description==
 
*This function is  one of the group in ISFUNCTIONS.
 
*This function is  one of the group in ISFUNCTIONS.
Line 6: Line 8:
 
*ISODD function can be used to check the given value is odd or not.  
 
*ISODD function can be used to check the given value is odd or not.  
 
*This function gives the result as only TRUE or FALSE.  
 
*This function gives the result as only TRUE or FALSE.  
*The result is TRUE when the <math>n</math> value is odd otherwise the result is FALSE..
+
*The result is TRUE when the <math>Number</math> is odd otherwise the result is FALSE..
 
*The argument can be blank, or it can contain data such as text,numbers,error values,logical values or any equations.
 
*The argument can be blank, or it can contain data such as text,numbers,error values,logical values or any equations.
 
*This function will not convert any numbers from the text.  
 
*This function will not convert any numbers from the text.  
Line 13: Line 15:
  
 
==Examples==
 
==Examples==
#ISODD(5)=TRUE
+
#=ISODD(5) = TRUE
#ISODD(0)=TRUE
+
#=ISODD(0) = FALSE
#ISODD(100)=FALSE
+
#=ISODD(100) = FALSE
#ISODD(5*3)=TRUE
+
#=ISODD(5*3) = TRUE
#ISODD(500/10.5)=TRUE
+
#=ISODD(500/10.5) = TRUE
#ISODD(5624.76-2654.42)=FALSE
+
#=ISODD(5624.76-2654.42) = FALSE
#ISODD(265+452)=TRUE
+
#=ISODD(265+452) = TRUE
#ISODD(-465)=TRUE
+
#=ISODD(-465) = TRUE
 +
#=max=12;1..max.filter(x=>ISODD(x)) = 1  3  5  7  9  11
 +
#max=12;SUM(1..max.filter(x=>ISODD(x))) = 36
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|Nd0JfLStYG8|280|center|ISODD}}
 +
 
 
==See Also==
 
==See Also==
 
*[[Manuals/calci/ISEVEN  | ISEVEN ]]
 
*[[Manuals/calci/ISEVEN  | ISEVEN ]]
Line 27: Line 36:
 
==References==
 
==References==
 
[http://en.wikipedia.org/wiki/Is_functions  Is Function]
 
[http://en.wikipedia.org/wiki/Is_functions  Is Function]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 02:03, 30 June 2021

ISODD (Number)


  • is any number to test.
    • ISODD(), returns TRUE if the number is odd.

Description

  • This function is one of the group in ISFUNCTIONS.
  • The IS FUNCTION is also known as Data Information Functions, Data Inspection Functions or Data-testing Functions.
  • ISODD function can be used to check the given value is odd or not.
  • This function gives the result as only TRUE or FALSE.
  • The result is TRUE when the is odd otherwise the result is FALSE..
  • The argument can be blank, or it can contain data such as text,numbers,error values,logical values or any equations.
  • This function will not convert any numbers from the text.
  • For e.g. "11" is normally converted as a number 11.
  • But in ISODD("11") will return NAN, because "11" will not convert in to number.

Examples

  1. =ISODD(5) = TRUE
  2. =ISODD(0) = FALSE
  3. =ISODD(100) = FALSE
  4. =ISODD(5*3) = TRUE
  5. =ISODD(500/10.5) = TRUE
  6. =ISODD(5624.76-2654.42) = FALSE
  7. =ISODD(265+452) = TRUE
  8. =ISODD(-465) = TRUE
  9. =max=12;1..max.filter(x=>ISODD(x)) = 1 3 5 7 9 11
  10. max=12;SUM(1..max.filter(x=>ISODD(x))) = 36

Related Videos

ISODD

See Also

References

Is Function