Difference between revisions of "Documentation/How Tos/Calc: ISODD ADD function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
{{Documentation/MasterTOC
+
{{DISPLAYTITLE:ISODD_ADD function}}
|bookid=1234'''
+
{{Documentation/CalcFunc InformationTOC
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
+
|ShowPrevNext=block
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Information_functions|<div style="font-size: 140%;">Information Functions]]
+
|PrevPage=Documentation/How_Tos/Calc:_ISODD_function
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_ISREF_function
+
|NextPage=Documentation/How_Tos/Calc:_ISREF_function
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_ISODD_function
+
}}__NOTOC__
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Financial_functions
+
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Logical_functions
+
|toccontent= <div style="padding: 4px; font-size: 130%; font-weight: hidden; background-color:#DCE9FC;">FUNCTIONS</div>
+
 
+
* [[Documentation/How_Tos/Calc:_CELL_function|<div style="font-size: 120%;">Cell]]
+
* [[Documentation/How_Tos/Calc:_CURRENT_function|<div style="font-size: 120%;">Current]]
+
* [[Documentation/How_Tos/Calc:_FORMULA_function|<div style="font-size: 120%;">Formula]]
+
* [[Documentation/How_Tos/Calc:_ISBLANK_function|<div style="font-size: 120%;">Isblank]]
+
* [[Documentation/How_Tos/Calc:_ISERR_function|<div style="font-size: 120%;">Iserr]]
+
* [[Documentation/How_Tos/Calc:_ISERROR_function|<div style="font-size: 120%;">Iserror]]
+
* [[Documentation/How_Tos/Calc:_ISEVEN_function|<div style="font-size: 120%;">Iseven]]
+
* [[Documentation/How_Tos/Calc:_ISEVEN_ADD_function|<div style="font-size: 120%;">Iseven Add]]
+
* [[Documentation/How_Tos/Calc:_ISLOGICAL_function|<div style="font-size: 120%;">Islogical]]
+
* [[Documentation/How_Tos/Calc:_ISNA_function|<div style="font-size: 120%;">Isna]]
+
* [[Documentation/How_Tos/Calc:_ISNONTEXT_function|<div style="font-size: 120%;">Isnontext]]
+
* [[Documentation/How_Tos/Calc:_ISNUMBER_function|<div style="font-size: 120%;">Isnumber]]
+
* [[Documentation/How_Tos/Calc:_ISODD_function|<div style="font-size: 120%;">Isodd]]
+
* [[Documentation/How_Tos/Calc:_ISODD_ADD_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Isodd Add]]
+
* [[Documentation/How_Tos/Calc:_ISREF_function|<div style="font-size: 120%;">Isref]]
+
* [[Documentation/How_Tos/Calc:_ISTEXT_function|<div style="font-size: 120%;">Istext]]
+
* [[Documentation/How_Tos/Calc:_N_function|<div style="font-size: 120%;">N]]
+
* [[Documentation/How_Tos/Calc:_NA_function|<div style="font-size: 120%;">Na]]
+
* [[Documentation/How_Tos/Calc:_TYPE_function|<div style="font-size: 120%;">Type]]
+
}}__TOC__
+
  
 
== ISODD_ADD  ==
 
== ISODD_ADD  ==
Line 40: Line 16:
 
:<tt>'''value'''</tt> is the value to be checked.
 
:<tt>'''value'''</tt> is the value to be checked.
  
:If <tt>'''value'''</tt> is not an integer any digits after the decimal point are ignored. The sign of <tt>'''value'''</tt> is also ignored.
+
:If <tt>'''value'''</tt> is not an integer, any digits after the decimal point are ignored. The sign of <tt>'''value'''</tt> is also ignored.
  
 
=== Example: ===
 
=== Example: ===
Line 56: Line 32:
  
 
=== Issues: ===
 
=== Issues: ===
<tt>'''ISEVEN_ADD'''</tt> and <tt>'''ISODD_ADD'''</tt> are intended to mimic certain non-standard behaviour in Excel.
+
<tt>'''ISEVEN_ADD'''</tt> and <tt>'''ISODD_ADD'''</tt> are intended to mimic certain non-standard behavior in Excel.
  
 
{{SeeAlso|EN|
 
{{SeeAlso|EN|

Latest revision as of 13:24, 31 January 2024

ISODD_ADD

Returns 1 if the value is an odd number, or 0 if the value is even.

This function is only available if the Analysis AddIn is installed.

Syntax:

ISODD_ADD(value)

value is the value to be checked.
If value is not an integer, any digits after the decimal point are ignored. The sign of value is also ignored.

Example:

ISODD_ADD(33)

returns 1.

ISODD_ADD(48)

returns 0.

ISODD_ADD(3.999)

returns 1. Ignoring digits after the decimal point gives 3, which is odd.

ISODD_ADD(-3.1)

returns 1. Ignoring the sign and digits after the decimal point gives 3, which is odd.

Issues:

ISEVEN_ADD and ISODD_ADD are intended to mimic certain non-standard behavior in Excel.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_ISODD_ADD_function&oldid=259816"
Views
Personal tools
Navigation
Tools
In other languages