how do i round a number in 10,20,30,40 etc.
Ex value = 183
round(value/10)*10 = 180
Ex value = 187
round(value/10)*10 = 190
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
thx