Max

This Flow Script tutorial explains how to use the Max function with syntax and examples.

Description

The Max function returns the greater of a and b.

Syntax

‌The syntax for the Max function is:

Max(a, b)

Parameters

a - the first value to compare

b - the second value to compare

Returns

‌The Max function returns a numeric value.

Example

Let's look at some Max function examples and explore how to use the Max function.‌

Max(1, 2)
Result: 2

Last updated