Bewerken

Delen via


SqlDecimal.Abs(SqlDecimal) Method

Definition

The Abs method gets the absolute value of the SqlDecimal parameter.

public:
 static System::Data::SqlTypes::SqlDecimal Abs(System::Data::SqlTypes::SqlDecimal n);
public static System.Data.SqlTypes.SqlDecimal Abs (System.Data.SqlTypes.SqlDecimal n);
static member Abs : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Abs (n As SqlDecimal) As SqlDecimal

Parameters

n
SqlDecimal

A SqlDecimal structure.

Returns

A SqlDecimal structure whose Value property contains the unsigned number representing the absolute value of the SqlDecimal parameter.

Applies to

See also