Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.54 KB

File metadata and controls

47 lines (34 loc) · 1.54 KB
title getFloat Method (java.lang.String) (SQLServerResultSet)
description getFloat Method (java.lang.String) (SQLServerResultSet)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSet.getFloat (java.lang.String)
apitype Assembly

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