Difference between revisions of "Manuals/calci/EVEN"
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
| class="sshl_f" |222 | | class="sshl_f" |222 | ||
|} | |} | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | *[[Manuals/calci/TRUNC | TRUNC]] | ||
+ | |||
+ | *[[Manuals/calci/ODD | ODD]] | ||
+ | |||
+ | ==References== | ||
+ | http://www.moz.ac.at/sem/lehre/lib/pd-sounddesign/even_and_odd_functions.html |
Revision as of 18:42, 18 November 2013
EVEN(number)
- Where 'number' is the input number.
EVEN() rounds the number to the nearest even integer value away from '0'.
Description
EVEN(number)
EVEN(51) returns 52
- For a non-numeric number, Calci returns an #ERROR message.
- The number is rounded up away from zero to its nearest even integer, irrespective of its sign.
Examples
Function | Output |
EVEN(57) | 58 |
EVEN(-23) | -24 |
EVEN(34.98989898) | 36 |
EVEN(-3.25) | -4 |
EVEN(222) | 222 |
See Also
References
http://www.moz.ac.at/sem/lehre/lib/pd-sounddesign/even_and_odd_functions.html