public static double getDouble ( final String key ) { return Double . longBitsToDouble ( getPreferences ( ) . getLong ( key , Double . doubleToLongBits ( 0.0d ) ) ) ; }
Returns the double that has been saved as a long raw bits value in the long preferences . Returns 0 if the preference does not exist .