Python – round up to the nearest ten [duplicate] February 27, 2023 by Tarik round does take negative ndigits parameter! >>> round(46,-1) 50 may solve your case.