[Solved] how to separate number using javascript? [closed]
Since your numbers are 2 digits max you can try this approach. First divide the number by 10 then for example if we divide 21 by 10 we get 2 and some reminder with math.floor we get rid of the reminder just 2 is left then we multiply 2 by 10 we get 20 that … Read more