Let's divide 704678 by 31
Our goal is to divide 704678 by 31.

Moving on to step 1:
31 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 31

Let's proceed to step 2:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 62 from 70, we get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 31

Moving on to step 3:
The number 31 fits into 84 2 times, leaving a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
If we take 62 away from 84, we end up with 22.
Take the next digit (6) from the dividend and append it to 22, then repeat: 226 / 31

Let's proceed to step 4:
The number 31 fits into 226 7 times, leaving a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 227.0
Deduct 217 from 226 and we're left with 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 31

On to step 5:
31 can be fit into 97 3 times, resulting in a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 2273.0
Deduct 93 from 97 and we're left with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 31

Going ahead to step 6:
48 divided by 31 is 1 with a remainder of 17.
The next digit of our result is 1. 
Result so far: 22731.0
Deduct 31 from 48 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
If we divide 170 by 31, we get 5 and a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 22731.5
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
If we divide 150 by 31, we get 4 and a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 22731.54
Deduct 124 from 150 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 9:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 22731.548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 22731.5483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 11:
270 divided by 31 is 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 22731.54838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
31 can be fit into 220 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 22731.548387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 13:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 22731.548387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
31 goes into 300 9 times with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 22731.54838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 22731.54838709 with a remainder of 2.1e-08.