DriveWorks Pro 15: Even [send feedback...]

Even

This function rounds a positive number up, and a negative number down, to the nearest even integer.

Syntax

EVEN( [ Number] )

Number is a number or a reference to a number to be rounded.

If the number is positive, the EVEN function, when calculated, will return the specified number, rounded up to the nearest even integer

If the number is negative, the EVEN function, when calculated, will return the specified number, rounded down to the nearest even integer

Examples

Rule

Meaning
EVEN(CustomerNumberTextBoxReturn)Depending on if the return value from the CustomerNumberTextBox is positive or negative, the EVEN function will return the value of the CustomerNumberTextBoxReturn, rounded up or down, to the nearest even integer.

Example Outcomes

CustomerNumberTextBoxReturn Value

Result of the EVEN function

1212
-13-14
17.218
14.3216
-9.42-10

Table of Contents