This documentation is archived and is not being maintained.

OracleParameter.Scale Property

NOTE: This property is now obsolete. The non-obsolete alternative is To be written..

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

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in

<ObsoleteAttribute("Scale has been deprecated.  Use the Math classes to explicitly set the scale of a decimal.")> _
Public Property Scale As Byte
Dim instance As OracleParameter
Dim value As Byte

value = instance.Scale

instance.Scale = value
/** @property */
public final byte get_Scale ()

/** @property */
public final void set_Scale (byte value)

public final function get Scale () : byte

public final function set Scale (value : byte)

Property Value

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

Setting the Precision or Scale properties has no effect.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 1.1
Obsolete (compiler warning) in 2.0