# EVEN

The *EVEN* function rounds a number up to the nearest even integer. If the input number is already even, it remains unchanged. The function accepts numeric values as well as node references as arguments. It is commonly used in calculations where results must conform to even-number requirements, such as packaging quantities, batch sizes, or standardized increments.

#### Syntax

```javascript
EVEN(value)
```

#### Arguments

* `value`: The number or node reference to round to the nearest even integer.

#### Return value

Returns the nearest even integer greater than or equal to the specified value.

#### Example

```javascript
EVEN(Planned Units)
```

In this example, the EVEN function is used to create the *Even Planned Units* measure, which returns the values in the *Planned Units* measure rounded up to the nearest even integer.

<figure><img src="/files/BMO47bc9yZi77iQMbMs3" alt=""><figcaption></figcaption></figure>

#### Excel equivalent

[EVEN](https://support.microsoft.com/en-us/office/even-function-197b5f06-c795-4c1e-8696-3c3b8a646cf9)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/math-functions/even.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
