def _change_precision(self, val, base=<NUM_LIT:0>):
if not isinstance(val, int):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>val = round(abs(val))<EOL>val = (lambda num: base if is_num(num) else num)(val)<EOL>return val<EOL>
Check and normalise the value of precision (must be positive integer).

Args:
    val (INT): must be positive integer
    base (INT): Description

Returns:
    VAL (INT): Description