--- title: "updateFloat Method (int, float) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual apiname: - "SQLServerResultSet.updateFloat (int, float)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: c9ddcd7d-1dd4-491a-99ff-6cce7f67a73b author: David-Engel ms.author: v-daenge --- # updateFloat Method (int, float) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Updates the designated column with a **float** value given the column index. ## Syntax ``` public void updateFloat(int index, float x) ``` #### Parameters *index* An **int** that indicates the column index. *x* A **float** value. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This updateFloat method is specified by the updateFloat method in the java.sql.ResultSet interface. ## See Also [updateFloat Method (SQLServerResultSet)](../../../connect/jdbc/reference/updatefloat-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)