Share via


SqlFacetAttribute.Scale 屬性

定義

使用者定義型別之傳回型別的小數點位數。

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

屬性值

Int32,表示傳回型別的小數點位數。

備註

屬性 Scale 只適用於十進位類型。 設定 Precision 屬性時 Scale 也必須指定 屬性。

屬性的 Scale 最大值為 38;預設值為 0。

適用於