Java tutorial
//package com.java2s; import android.database.Cursor; public class Main { protected static float getFloat(Cursor mCursor, String column) { return mCursor.getFloat(mCursor.getColumnIndex(column)); } }