Even number is valid
What this tool does
This tool checks whether a number is even. It helps you quickly verify the parity of a value entered in a form. This is useful for simple validation tasks where only even numbers are accepted.
When to use it
- Validating a discount code that must be an even number.
- Checking if a batch ID is even for processing logic.
- Filtering list items by parity in a spreadsheet export.
- Ensuring a sequence number is even before saving a record.
What to expect
You will get a clear yes or no answer indicating if the number is even. The result is a simple indicator based on the input value.
Limitations
- Only integers are supported; decimals are treated as their whole number part.
- Text that cannot be turned into a number will result in a false answer.
- Negative numbers are handled by their absolute value for the check.
When it fails
- If the input is not a number, the tool will return that it is not even.
Good to know
- The tool treats zero as an even number.
- Leading or trailing spaces in the number are ignored.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
number | Yes | 2 | Enter a whole number, such as 2 or 4. This field is required. |
Output data
| Field | Description |
|---|---|
result | Returns the actual value you entered (e.g., '4') if it is an even number. If the number is not even, this field may be empty or indicate an error depending on the platform's standard error handling. |