SqlFacetAttribute.Scale SqlFacetAttribute.Scale SqlFacetAttribute.Scale SqlFacetAttribute.Scale Property

定义

用户定义类型的返回类型的小数位数。The scale of the return type of the user-defined type.

public:
 property int Scale { int get(); void set(int value); };
public int Scale { get; set; }
member this.Scale : int with get, set
Public Property Scale As Integer

属性值

表示返回类型的小数位数的 Int32An Int32 representing the scale of the return type.

注解

Scale属性是仅对十进制类型有效。The Scale property is valid only for decimal types. Precision设置时,还必须指定属性Scale属性。The Precision property must also be specified when setting the Scale property.

最大值Scale属性为 38; 默认值为 0。The maximum value of the Scale property is 38; the default value is 0.

适用于