Edit

Share via


OracleParameter.Scale Property

Definition

Caution

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

Gets or sets the number of decimal places to which Value is resolved.

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

Property Value

The number of decimal places to which Value is resolved. The default is 0.

Implements

Attributes

Remarks

Setting the Precision or Scale properties has no effect.

Applies to