Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$MAX^XLFMTH(): Maximum of Two Numbers

Reference Type: Supported, Category: Math Functions, ICR#: 10105

Description

The $$MAX^XLFMTH extrinsic function returns the maximum value by comparing the number in x with the number in y.

Format

  $$MAX^XLFMTH(x,y)

Input Parameters

x:

(required) First number to compare with second number in y to determine which is higher in value.

y:

(required) Second number to compare with first number in x to determine which is higher in value.

Output

returns:

Returns the highest number.

Example

>S X=$$MAX^XLFMTH(53,24)

>W X
53