SqlDecimal.Abs(SqlDecimal) SqlDecimal.Abs(SqlDecimal) SqlDecimal.Abs(SqlDecimal) SqlDecimal.Abs(SqlDecimal) Method

定义

Abs 方法获取 SqlDecimal 参数的绝对值。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

参数

返回

一个 SqlDecimal 结构,其 Value 属性包含表示 SqlDecimal 参数的绝对值的无符号数字。A SqlDecimal structure whose Value property contains the unsigned number representing the absolute value of the SqlDecimal parameter.

适用于

另请参阅