Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.6 KB

File metadata and controls

52 lines (39 loc) · 1.6 KB
title getFloat Method (int) (SQLServerResultSet) | 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.getFloat (int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 30863ef5-7a7c-440e-8fbb-426a99266ee1
author David-Engel
ms.author v-daenge

getFloat Method (int) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public float getFloat(int columnIndex)  

Parameters

columnIndex

An int that indicates the column index.

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

getFloat Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class