Rexx - MIN


Advertisements

This method returns the minimum value from a list of numbers.

Syntax

MIN(number1,number2, …numberN)

Parameters

  • number1, number2, ‚ĶnumberN − The list of numbers for which the minimum values need to be determined.

Return Value

The minimum value from the list of values.

Example

/* Main program */ 
say MIN(10,20,30)

When we run the above program we will get the following result.

Output

10
rexx_numbers.htm
Advertisements