Abs(number) returns The absolute value of number-the unsigned magnitude of the number. : Abs « Math Functions « VBA / Excel / Access / Word






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

 
Sub mathDemo1()
   Debug.Print Abs(-100)
End Sub

 

Related examples in the same category

1.Abs() Returns the absolute value of a number.