even() Function

Functions

even( number )

Rounds positive numbers up to nearest even integer and negative numbers down to the nearest even integer.

Parameters

Keyword Type Description

number

Decimal

The number that will be rounded.

Returns

Integer

Examples

You can experiment with this function in the test box below.

Test Input

even(31.5) returns 32

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK