Syntax
Public Function MathMax(Number1 As Double, Number2 As Double) As Double
Description
This function is used to return the maximum 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
Return the maximum number between two numbers.
Sample
Public Sub main() AlertMessage MathMax (20, 10) will return 20End Sub
See Also