Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.19 KB

File metadata and controls

46 lines (33 loc) · 1.19 KB
title setFloat Method (SQLServerPreparedStatement)
description setFloat Method (SQLServerPreparedStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerPreparedStatement.setFloat
apitype Assembly

setFloat Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given float value.

Syntax

  
public final void setFloat(int n,  
                           float x)  

Parameters

n

An int that indicates the parameter number.

x

A float value.

Exceptions

SQLServerException

Remarks

This setFloat method is specified by the setFloat method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class