mode() Function

Function

mode( number )

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

Parameters

Keyword Type Description

number

Decimal Array

A number or array of numbers that will be used to calculate the mode of the set.

Returns

Decimal

Examples

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

Open in Github Built: Fri, Jun 24, 2022 (02:10:55 PM)

On This Page

FEEDBACK