Android examples for Database:Cursor Get
get float from Cursor
//package com.java2s; import android.database.Cursor; public class Main { public static float getfloat(Cursor c, String columnName) { return c.getFloat(c.getColumnIndex(columnName)); }//from w w w .j av a 2 s. c om }