Hi! I've noticed a bug related to the rounding function. > **Heads up:** I'm quite confident that this is the same bug as described here: https://github.com/adafruit/circuitpython/issues/1890. **Board/system information:** ``` (sysname='GPy', nodename='GPy', release='1.20.2.r6', version='v1.11-c5a0a97 on 2021-10-28', machine='GPy with ESP32', pybytes='1.7.1') ``` **Bug report** Rounding integer values with a custom number of decimals seems to throw a `NotImplementedError`: ```python >>> round(1, 2) Traceback (most recent call last): File "<stdin>", line 1, in <module> NotImplementedError: ``` If the values is converted to `float`, it works fine: ```python >>> round(float(1), 2) 1.0 ```
Hi! I've noticed a bug related to the rounding function.
Board/system information:
Bug report
Rounding integer values with a custom number of decimals seems to throw a
NotImplementedError:If the values is converted to
float, it works fine: