Gets a decimal value from the datareader.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public decimal GetDecimal(
	string name
)
Visual Basic
Public Function GetDecimal ( 
	name As String
) As Decimal

Parameters

name
Type: System..::..String
Name of the column containing the value.

Return Value

Type: Decimal

Remarks

Returns 0 for null.

See Also