DEBSOURCES
Skip Quicknav
sources / micropython / 1.25.0%2Bds-1 / tests / basics / builtin_round.py
12345678
# test round() with integral values tests = [ False, True, 0, 1, -1, 10 ] for t in tests: print(round(t))