Math > Math.max

Math.max

Syntax

Math.max(x , y);

Arguments

x A number or expression.

y A number or expression.

Description

Method; evaluates x and y and returns the larger value.

Player

Flash 5 or later. In the Flash 4 Player, the methods and properties of the Math object are emulated using approximations and may not be as accurate as the non-emulated math functions supported by the Flash 5 Player.