@register.filter(name='<STR_LIT>')<EOL>def absolute(value):
try:<EOL><INDENT>return abs(valid_numeric(value))<EOL><DEDENT>except (ValueError, TypeError):<EOL><INDENT>try:<EOL><INDENT>return abs(value)<EOL><DEDENT>except Exception:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT><DEDENT>
Return the absolute value.