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 属性不起作用。

适用于