We're dividing 702987 by 31 
Let's see how many times 31 fits into 702987.

On to step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 31

Let's proceed to step 2:
31 goes into 70 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 70 and we're left with 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 31

Advancing to step 3:
31 goes into 82 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 22.0
Subtract 62 from 82 to get 20.
Append the next digit (9) from the dividend to 20 and continue with: 209 / 31

Let's proceed to step 4:
31 can be fit into 209 6 times, resulting in a remainder of 23.
Record the quotient 6 as the next digit in the result. 
Result so far: 226.0
Deduct 186 from 209 and we're left with 23.
Grab the next digit (8) from the dividend, add it to 23, then carry on: 238 / 31

Step 5:
238 divided by 31 is 7 with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 2267.0
If we take 217 away from 238, we end up with 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 31

Going ahead to step 6:
If we divide 217 by 31, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 22677.0
Deduct 217 from 217 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
The number 31 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22677.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
0 divided by 31 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22677.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 22677.0 with a balance of 0.0.