Name

Abs Function — System.Math

Synopsis

Math.Abs(value)
value required; any valid numeric expression

A number whose absolute value is to be returned

Return Value

The absolute value of value. The data type is the same as that of the argument passed to the function

Description

Returns the absolute value of value. If value is an uninitialized variable, the return value is 0.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.