DB2 Version 9.7 for Linux, UNIX, and Windows

DB2Decimal.Scale Property

Gets a value indicating the scale of the DB2Decimal structure's value.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Property Scale As Integer
[C#]
public int Scale {get;}
[C++]
public: __property int get_Scale();
[JScript]
public function get Scale() : int;

Property value

An integer representing the scale of the DB2Decimal structure.

Remarks

An exception is thrown if the DB2Decimal instance has the value DB2Decimal.Null.

Exceptions

Exception type Condition
DB2NullValueException The value of the DB2Type is null.

Version information

Last update
This topic was last updated for: IBM DB2 Version 9.5
.NET Framework version
Supported in: 2.0, 3.0, 3.5, and 4.0
IBM Data Server Client
Supported in: IBM DB2 Version 9