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

        :param key: an index of element to get.

        :return: float value ot the element or 0 if conversion is not supported.

def get_as_float(self, key):
        """
        Converts map element into a float or returns 0 if conversion is not possible.

        :param key: an index of element to get.

        :return: float value ot the element or 0 if conversion is not supported.
        """
        value = self.get(key)
        return FloatConverter.to_float(value)