SqlFacetAttribute.Precision 屬性

定義

使用者定義型別之傳回型別的精確度。

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

屬性值

Int32,表示傳回型別的精確度。

備註

屬性 Precision 只適用於數值類型。 設定 Scale 屬性時 Precision 也必須指定 屬性。

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

適用於