Function roundNumTo

Round a number to the given decimal precision (default is 0).