Abs() Returns the absolute value of a number. : Abs « Math Functions « VBA / Excel / Access / Word






Abs() Returns the absolute value of a number.

 
Sub mathF()
    Debug.Print Abs(-10)
End Sub

 

Related examples in the same category

1.Abs(number) returns The absolute value of number-the unsigned magnitude of the number.