Code example for Preferences

Methods: getFloat

	public double getDouble(String arg0, double arg1) {
		return p.getDouble(arg0, arg1);
	public float getFloat(String arg0, float arg1) {
		return p.getFloat(arg0, arg1);
	public int getInt(String arg0, int arg1) {
		return p.getInt(arg0, arg1);
	public long getLong(String arg0, long arg1) {
		return p.getLong(arg0, arg1);
	public void put(String arg0, String arg1) {
		p.put(arg0, arg1);
Connect your IDE to all the code out there  Get Codota for Java