maxΒΆ

Description

Returns the smaller of the two numbers given

Parameters

# Required Description
1 yes First number
2 yes Second number

Return value

The smaller number

Examples

IF MAX(-1, 0) == 0 THEN ...
IF MAX(10, 11) == 11 THEN ...
IF MAX(0, dimmer.dimlevel - 1) == 0 THEN ...