Skip to main content

Overview

This function returns the larger of the two values.

Parameters

max(number1, number2)
  • Number 1: First number to compare.
  • Number 2: Second number to compare.

Example

max(10, 25)
Returns 25.
max(100, #objectHeight)
Returns #objectHeight variable value, unless the object’s height is less that 100pt, then returns 100.
I