We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7318949 commit 49bf761Copy full SHA for 49bf761
1 file changed
tests/float/builtin_float_round.py
@@ -13,5 +13,5 @@
13
print(round((i - 5) / 2))
14
15
# test second arg
16
-# TODO uPy currently only supports second arg being 0
17
-print(round(1.4, 0))
+for i in range(-1, 3):
+ print(round(1.47, i))
0 commit comments