Round to nearest five

后端 未结 4 1605
忘了有多久
忘了有多久 2020-12-02 21:54

I need to round a double to nearest five. I can\'t find a way to do it with the Math.Round function. How can I do this?

What I want:

70 = 70
73.5 = 7         


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