Difference between revisions of "Manuals/calci/ODD"

From ZCubes Wiki
Jump to navigation Jump to search
Line 73: Line 73:
 
| class="sshl_f" |667
 
| class="sshl_f" |667
 
|}
 
|}
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|SFRTTUtAjg4|280|center|ODD}}
  
 
== See Also ==
 
== See Also ==

Revision as of 20:36, 26 April 2015

ODD(number)

  • where is the input number.

ODD() rounds the number to the nearest odd integer away from zero.

Description

ODD(number)

ODD(76) returns 77

  • For a non-numeric , Calci returns an #NULL error message.
  • The is rounded up away from zero to its nearest odd integer, irrespective of its sign.
  • ODD() can be used with array of numbers as -

In ZOS:

  • ODD(1..10) or
  • 1..10@ODD

In Calci:

  • =ODD(1..10) or
  • =1..10@ODD
Numbers ODD
1 1
2 3
3 3
4 5
5 5
6 7
7 7
8 9
9 9
10 11

Examples

Function Output
ODD(98) 99
ODD(-23) -23
ODD(34.98989898) 35
ODD(-5.2) -7
ODD(666) 667

Related Videos

ODD

See Also

References