Skip to content

GetDecimal Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
decimal GetDecimal(int ordinal)Returns the value of the specified column as a Decimal
decimal? GetDecimal(string name)Returns the value of the specified column name as a Decimal.

decimal GetDecimal(int ordinal) ​

csharp
decimal GetDecimal(int ordinal)

Returns the value of the specified column as a Decimal

decimal? GetDecimal(string name) ​

csharp
decimal? GetDecimal(string name)

Returns the value of the specified column name as a Decimal.

Parameters ​

NameDescription
nameThe name of the column to retrieve.

Returns ​

Returns the columns decimal value or null if the column is not present or its value is DB null.