HotDocs Models: max( num, num )

Placeholder Replace With
num A number value, such as a Number variable
num A number value, such as a Number variable (These values can be in any order.)

The max expression compares two number values and returns the greater of the two.

In this example, HotDocs returns the value of either the MonthlySalary or the MonthlyExpenses, depending on which is the greater value:

max( MonthlySalary, MonthlyExpenses )