numeric.max()

Determines the greater of two numbers.

numeric.max( number2 )

Returns: Number

Argument Description
number2
number, required

second number

Examples

num1 = 1234;
	num2 = 12.34;
	num3 = 12.34001;
	writeDump(num1.max(num3));
	writeDump(num2.max(num3));

See also