Code example for Preferences

Methods: get, put, putFloat