Converts map element into a double or returns 0 if conversion is not possible.
key
See getAsDoubleWithDefault