Reads a value from persistent storage, throwing an exception if it's not a double.
double? getDouble(String key);