Max Function

Description:

The max function compares two float or integer values and returns the larger one.

Format:

integer_result = Max(integer_expression, integer_expression)
float_result = Max(float_expression, float_expression)

Parameter:

integer_expression

An integer expression

float_expression

A float expression

Example:

INTEGER i;

i = Max(10, 100); // returns 100

FLOAT f;

f = Max(1.23, 123.45); // returns 123.45





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap