syntax:functions:min
This is an old revision of the document!
Table of Contents
Min(number1, number2)
Category: Number function
Description
This function returns the smallest of two numbers.
Arguments
Argument | Type | Description |
---|---|---|
number1 | Number | The value to be compared to number2. |
number2 | Number | The value to be compared to number1. |
Return value type: Number
Remarks
Use nested Min() functions to compare more than two values at a time. See the last two examples below.
Examples
min(10, 20) = 10 min(171, 238) = 171 min(1, -1) = -1 min(min(8,4),12) = 4 //Returns the min of the 3 values 8, 4, and 12. min(min(10, 40), min(25, 75)) = 10 //Returns the min of the 4 values 10, 40, 25, and 75.
See also
syntax/functions/min.1627783818.txt.gz · Last modified: 2021/07/31 22:10 by craigt