how to round a number to 0 decimal places in python code example Example: python round to dp round(float_num, num_of_decimals)