Here you can find the source of getFloat(Cursor cursor, String columnName)
public static float getFloat(Cursor cursor, String columnName)
import android.database.CharArrayBuffer; import android.database.Cursor; import android.provider.BaseColumns; public class Main{ public static float getFloat(Cursor cursor, String columnName) { return cursor.getFloat(cursor.getColumnIndex(columnName)); }//from w w w.jav a 2s. c o m public float getFloat(String columnName) { return getFloat(cursor, columnName); } }