Here you can find the source of getFloat(String columnName)
public float getFloat(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 www . j a va 2s .c om public float getFloat(String columnName) { return getFloat(cursor, columnName); } }