Syntax
Public Function MathMin(Number1 As Double, Number2 As Double) As Double
Description
This function is used to return the minimum number between two numbers.
Parameters
Key | Description |
Number 1 | The first value that wants to compare it, a value of type Double. |
Number 2 | The second value that wants to compare it, a value of type Double. |
Return value
Returns the minimum number between two numbers.
Sample
Public Sub main() AlertMessage MathMin (20, 10) will return 10End Sub
See Also