--- title: "setDouble Method (SQLServerCallableStatement) | 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: - "SQLServerCallableStatement.setDouble" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: c054bb84-1292-4b70-b574-2ae189cd4e68 author: David-Engel ms.author: v-daenge --- # setDouble Method (SQLServerCallableStatement) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Sets the designated parameter to the given **double** value. ## Syntax ``` public void setDouble(java.lang.String sCol, double d) ``` #### Parameters *sCol* A **String** that contains the parameter name. *d* A **double** value. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This setDouble method is specified by the setDouble method in the java.sql.CallableStatement interface. ## See Also [SQLServerCallableStatement Members](../../../connect/jdbc/reference/sqlservercallablestatement-members.md) [SQLServerCallableStatement Class](../../../connect/jdbc/reference/sqlservercallablestatement-class.md)