Rounding to nearest 100

前端 未结 7 818

First number needs to be rounded to nearest second number. There are many ways of doing this, but whats the best and shortest algorithm? Anyone up for a challenge :-)

7条回答
提交回复
热议问题