Firebird ADO.NET Provider SDK Documentation - v1.7

FbDataReader.GetDecimal Method 

Gets the value of the specified column as a Decimal object.

[Visual Basic]
NotOverridable Public Function GetDecimal( _
   ByVal i As Integer _
) As Decimal _
    Implements IDataRecord.GetDecimal
[C#]
public decimal GetDecimal(
   int i
);

Parameters

i
The zero-based column ordinal.

Return Value

The value of the specified column as a Decimal object.

Implements

IDataRecord.GetDecimal

Exceptions

Exception Type Condition
InvalidCastException The specified cast is not valid.

See Also

FbDataReader Class | FirebirdSql.Data.Firebird Namespace