Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.79 KB

File metadata and controls

60 lines (47 loc) · 1.79 KB
title getFloat Method (java.lang.String) (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerResultSet.getFloat (java.lang.String)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 09491a8a-1931-411e-9b35-2b269c1b7f12
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

getFloat Method (java.lang.String) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public float getFloat(java.lang.String columnName)  

Parameters

columnName

A String that contains the column name.

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