NullableTypes Class Library

NullableInt16.Abs Method 

Returns the absolute value of a Nullable Int16

[Visual Basic]
Public Shared Function Abs( _
   ByVal x As NullableInt16 _
) As NullableInt16
[C#]
public static NullableInt16 Abs(
   NullableInt16 x
);

Parameters

x
A number in range -32768 to 32767

Return Value

A NullableInt16 number y such that, y is in between 0 and 32767(both included)

See Also

NullableInt16 Class | NullableTypes Namespace