<i>round() function with precision argument rounding away from zero</i> status still Open with 3 other changes
by
.
D 2025-12-12T15:31:11.627
J icomment I\sjust\srealized\sthat\sPython'\sround()\smethod\swith\sprecision\sargument\schoosed\s"half\sto\seven"\srounding\smethod.\r\nAs\sI\sdidn't\sthought\sabout\saggregates\sof\sfp\snumbers\s(a\sbad\sidea,\srounded\sor\snot),\sI\swant\sto\sprecise\sthat\sthe\sneed\sexpressed\sin\sthis\sticket\sis\sabout\srounding\sfp\snumbers\sused\sin\sisolation\s(I\sshould\shave\swritten\sthis\sin\sthe\stitle\sof\sthis\sticket).\r\nHowever,\sif\s"half\sto\seven"\smethod\sis\sprefered\s\sby\sthe\sDevelopment\sTeam\sfor\ssome\sreason,\swhile\sproducing\sa\sresult\sless\simmediately\sintuitive\sfor\sisolated\sfp\snumbers,\sit\sis\snetherthess\sallso\sfine\son\sour\sside.\r\n\r\nThank\syou\r\nJean-Marie
J login anonymous
J mimetype text/plain
K bd71dd33055d27d7fc8f075412359822195c3cd9
U anonymous
Z 45176194777acf179584d80c5ec503f1