Edit

Share via


Int16.Abs(Int16) Method

Definition

Computes the absolute of a value.

C#
public static short Abs(short value);

Parameters

value
Int16

The value for which to get its absolute.

Returns

The absolute of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9