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

$$MIN^XLFMTH(): Minimum of Two Numbers

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

Description

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

Format

  $$MIN^XLFMTH(x,y)

Input Parameters

x:

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

y:

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

Output

returns:

Returns the lowest number.

Example

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

>W X
24