questionlp’s avatarquestionlp’s Twitter Archive—№ 42,638

  1. …in reply to @EpsilonCalculus
    @EpsilonCalculus @driscollis I think that changed somewhere between Python 2 and Python 3, as I ran into changed behavior when I ported some older code from Python 2 to 3 for reuse. Previous behavior was to round situations like that away from zero (round(1.5) would be 2 and round(2.5) would be 3).