EVEN

Syntax:

EVEN ( x )

Description: Computes x rounded to the nearest even integer, away from zero. Regardless of the sign of x, a value is rounded up when adjusted away from zero.

Arguments:

Name

Type

Description

x

number

The value to be rounded.

Return Type and Value: number – The rounded value of x. If x is zero, the result is zero.

example: