OracleParameter.Scale 屬性

定義

警告

Scale has been deprecated. Use the Math classes to explicitly set the scale of a decimal. http://go.microsoft.com/fwlink/?linkid=14202

取得或設定 Value 所解析的小數點位數。

public:
 property System::Byte Scale { System::Byte get(); void set(System::Byte value); };
public byte Scale { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("Scale has been deprecated.  Use the Math classes to explicitly set the scale of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")]
public byte Scale { get; set; }
member this.Scale : byte with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("Scale has been deprecated.  Use the Math classes to explicitly set the scale of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : byte with get, set
Public Property Scale As Byte

屬性值

Value 解析到哪一個小數位數。 預設值是 0。

實作

屬性

備註

Precision設定或 Scale 屬性沒有任何作用。

適用於