|
|
| MinVal | |||
| Result = MinVal(Value1, Value2) | |||
| Parameters: Value1 = First value you wish to compare Value2 = Second value you wish to compare |
|||
| Returns: Result = The smaller value of the two |
|||
The MinVal() function calculates the min value (smallest value) between a pair of values. FACTS: * MinVal returns the min value as a Integer * MinVal is equal to the following code fragment
Mini Tutorial: This example uses of the MinVal function to display the smallest of the two values.
This example would output.
|
| Related Info: | Comparisons | if | MaxVal | MaxVal# | MidPoint | MinVal# | SwapIfLower : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |