def _compare_numeric(src_num, dst_num):
dst_num = float(dst_num)<EOL>match = numeric_compare_regex.match(src_num)<EOL>if not match:<EOL><INDENT>error = "<STR_LIT>".format(<EOL>dst_num, src_num<EOL>)<EOL>raise ValueError(error)<EOL><DEDENT>operand = {<EOL>"<STR_LIT:<>": "<STR_LIT>",<EOL>"<STR_LIT:>>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>}<EOL>return getattr(dst_num, operand[match.group(<NUM_LIT:1>)])(float(match.group(<NUM_LIT:2>)))<EOL>
Compare numerical values. You can use '<%d','>%d'.