[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…