n8n Β· Numbers

n8n Math.max()

Returns the largest of the numbers given. Spread arrays with ... first.

Syntax

Math.max(...array)

Example

Math.max(...[45, 120, 80])

Result: 120

Equivalent in Make.com

max() β€” max(array) / max(value1; value2; ...)

Practice Math.max() β€” free interactive labs

More n8n numbers functions