def METHOD_NAME(self, key, default=0, target_type=int):
    """
    Get numeric value converting to integer if necessary.
    :param str key: config option key
    :param int default: default numeric value
    :param type target_type: numeric type to return like int or float
    :return numerical type `target_type` converted parameter value
    :rtype: int or float
    """
    return target_type(self.get(key, default))