[issue45715] round(2500, -3)

2021-11-04 Thread Dennis Sweeney
Dennis Sweeney added the comment: Thanks for the report, but this is the intended behavior. >From https://docs.python.org/3/library/functions.html#round : """values are rounded to the closest multiple of 10 to the power minus ndigits; if two multiples are equally close, rounding is done towa

[issue45715] round(2500, -3)

2021-11-04 Thread Jacek
New submission from Jacek : round(2500, -3) returns 2000 instead of 3000. I have checked it on 3.7.4 and 3.6.9. -- components: Library (Lib) messages: 405726 nosy: jacekblaz priority: normal severity: normal status: open title: round(2500, -3) type: behavior versions: Python 3.7 __