Description

Find the maximum value from a list of numbers

Syntax

max(numbers)

Parameters

Input ParameterTypeDescription
numbersarray of numbersAn array containing numbers to find the maximum value from

Return value

Type
number

Sample

ExampleResultDescription
max([5, 10, 15, 20])20Returns the largest number from the input list

To view all the Math and Number functions, click here.