mode() Function

Returns the mode of the specified number(s), which is the most commonly repeated element.

Syntax

mode( number, … )

number: (Decimal Array) A number or array of numbers that will be used to calculate the mode of the set.

Returns

Decimal

Examples

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

Test Input

mode(1,2,2,3,3,3,4) returns 3

FEEDBACK