import re


def FilterNumber(param, value):
    """
    Filter: Assert number.
    """
    if re.match(r'^-?\d+(?:\.\d+)?$', value) is None:
        return "parameter --" + param.name + " expectes a number as value"
    return None