Is there any method or easy way to round up integers to desired point(hundreds, thousands etc)? Yea, I know can use math lib, can use functions and etc, but seems very complicated for simple thing. At least old python version I couldnt find out something good.
13 -> 20;
2237 -> 2240;
3451 -> 3500
My situation:
dict = {'Key':[2312, 467]}
Need to get:
dict = {'Key':[2320, 470]}
Show you examples, also show when need to round down, or round in math way(0-4 to 0, 5-9 to 10)