Min
From REALbasicWiki
Contents |
[edit] Prototype
Function Min( value1 as Double, value2 as Double[, ...Optional valueN as Double] ) as Double
[edit] Description
Min returns the smallest of two or more doubles passed to it.
[edit] Discussion
Prior to RB 2005 Release 1, Min only accepted exactly two values.
[edit] Sample Code
In this bit of sample code, Min returns 1.
MsgBox str( Max( 3, 8, 9, 1 ) )
