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)

参数

columnIndex

An int that indicates the column index.

返回值

A float value.

异常

SQLServerException

备注

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.

另请参见

参考

SQLServerResultSet Class

概念

getFloat Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members