how do i round a number in 10,20,30,40 etc.
Develop games in your browser. Powerful, performant & highly capable.
Ex value = 183
round(value/10)*10 = 180
Ex value = 187
round(value/10)*10 = 190
Ex value = 183 round(value/10)*10 = 180 Ex value = 187 round(value/10)*10 = 190
thx