max()

This function returns the larger of the two numerical values a and b as a floating point value. A non-numerical value is interpreted as 0.0. See examples below.

Parameters


Parameter

Description

a

Numerical value.

b

Numerical value.

Examples


Parameter a

Parameter b

Result

1

2

2

2

1

2

2

2

2

7.1

7

7.1

abc

7

7.0