def as_number(as_number_val):
as_number_str = py23_compat.text_type(as_number_val)<EOL>if "<STR_LIT:.>" in as_number_str:<EOL><INDENT>big, little = as_number_str.split("<STR_LIT:.>")<EOL>return (int(big) << <NUM_LIT:16>) + int(little)<EOL><DEDENT>else:<EOL><INDENT>return int(as_number_str)<EOL><DEDENT>
Convert AS Number to standardized asplain notation as an integer.