Gets a Single 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 float GetFloat(
	string name
)
Visual Basic
Public Function GetFloat ( 
	name As String
) As Single

Parameters

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

Return Value

Type: Single

Remarks

Returns 0 for null.

See Also