Returns the larger of two specified numbers.

Syntax

Smartsite SXML CopyCode image Copy Code
float math.max(float a, float b)

Parameters

Name Data Type Description
a Float First input number.
b Float Second input number.

Return Value

Data Type Description
Float The larger of the two specified numbers.

Expand image Examples

SXML