Share via


getFloat Method (int) (SQLServerResultSet)

Retrieves the value of the designated column index in the current row of this SQLServerResultSet object as a float in the Java programming language.

public float getFloat(int columnIndex)

Parameters

columnIndex

An int that indicates the column index.

Return Value

A float value.

Exceptions

SQLServerException

Remarks

This getFloat method is specified by the getFloat method in the java.sql.ResultSet interface.

This method returns all number-based types with Java float fidelity.

See Also

Reference

SQLServerResultSet Class

Concepts

getFloat Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members