decimal round to 2 dp python code example Example: how to round to two places python round(number, decimal places)