!~~isFloat

def isFloat(nstr, schema):
    """
    !~~isFloat
    """
    if isinstance(nstr, (float, int, long)):
        return True
    elif not isinstance(nstr, basestring):
        return False

    try:
        float(nstr)
    except ValueError:
        return False

    return True