Syntax
Public Function MathAbs(Number As Variant)As Variant
Description
This function is used to returns the absolute value to a given numeric value.
Parameters
Key | Description |
Number | numeric value that want to get the absolute value for it,value of type Variant. |
Return value
Returns the absolute value to the given numeric value.
Sample
Public Sub main()MAlertMessage MathAbs(-20) 'will return 20.End Sub
See Also