Decodes the data for the given key or id as a double value.
double decodeDouble(String key, {int? id});