Difference between revisions of "Manuals/calci/EVEN"
Jump to navigation
Jump to search
| Line 72: | Line 72: | ||
| class="sshl_f" |222 | | class="sshl_f" |222 | ||
|} | |} | ||
| + | |||
| + | ==Related Videos== | ||
| + | {{#ev:youtube|SFRTTUtAjg4|280|center|EVEN}} | ||
== See Also == | == See Also == | ||
| Line 90: | Line 93: | ||
*[http://en.wikipedia.org/wiki/Even_and_odd_functions EVEN Function] | *[http://en.wikipedia.org/wiki/Even_and_odd_functions EVEN Function] | ||
| + | *[http://simple.wikipedia.org/wiki/Even_number EVEN Number] | ||
Revision as of 14:42, 17 April 2015
EVEN(number)
- where is the input number.
EVEN() rounds the number to the nearest even integer away from zero.
Description
EVEN(number)
EVEN(51) returns 52
- For a non-numeric , Calci returns an #NULL error message.
- The is rounded up away from zero to its nearest even integer, irrespective of its sign.
- EVEN() can be used with array of numbers as -
In ZOS:
- EVEN(1..10) or
- 1..10@EVEN
In Calci:
- =EVEN(1..10) or
- =1..10@EVEN
| Numbers | EVEN |
|---|---|
| 1 | 2 |
| 2 | 2 |
| 3 | 4 |
| 4 | 4 |
| 5 | 6 |
| 6 | 6 |
| 7 | 8 |
| 8 | 8 |
| 9 | 10 |
| 10 | 10 |
Examples
| Function | Output |
| EVEN(57) | 58 |
| EVEN(-23) | -24 |
| EVEN(34.98989898) | 36 |
| EVEN(-3.25) | -4 |
| EVEN(222) | 222 |