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