Mimer SQL Data Provider
GetFloat Method




Mimer.Data.Client Namespace > MimerDataReader Class : GetFloat Method
The zero-based column ordinal position.
Gets the value of the specified column as a single-precision floating point number.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetFloat( _
   ByVal i As Integer _
) As Single
public override float GetFloat( 
   int i
)
public function GetFloat( 
    i: Integer
): Single; override; 
public override function GetFloat( 
   i : int
) : float;
public: float GetFloat( 
   int i
) override 

Parameters

i
The zero-based column ordinal position.

Return Value

The value of the column as a System.Single.
Exceptions
ExceptionDescription
The underlying SQL data type cannot be converted to System.Single.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
Supported SQL data types for the conversion are: any numeric or character type that can be converted to float.

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members