circuitpython/tests/float/builtin_float_round_intbig.py
Scott Shawcroft b057fb8a4b
codeformat
2021-04-19 22:22:44 -07:00

5 lines
108 B
Python

# test round() with floats that return large integers
for x in (-1e25, 1e25):
print("%.3g" % round(x))