Share via


getFloat Method (java.lang.String) (SQLServerResultSet)

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

public float getFloat(java.lang.String columnName)

Parameters

columnName

A String that contains the column name.

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