Let's divide 789672 by 31
We want to divide 789672 by 31.

On to step 1:
7 divided by 31 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 31

On to step 2:
31 goes into 78 2 times with a remainder of 16.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 78 and we're left with 16.
Take the next digit (9) from the dividend and append it to 16, then repeat: 169 / 31

Advancing to step 3:
When dividing 169 by 31, we get 5 with a remainder of 14.
Write down 5 as next digit of the result. 
Result so far: 25.0
If we take 155 away from 169, we end up with 14.
Grab the next digit (6) from the dividend, add it to 14, then carry on: 146 / 31

Going ahead to step 4:
If we divide 146 by 31, we get 4 and a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 254.0
Subtract 124 from 146 to get 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 31

Step 5:
227 divided by 31 is 7 with a remainder of 10.
Put 7 as the next digit of the answer. 
Result so far: 2547.0
The remainder is 10 after subtracting 217 from 227.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 31

Let's proceed to step 6:
102 divided by 31 is 3 with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 25473.0
Deduct 93 from 102 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 7:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 25473.2
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
If we divide 280 by 31, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 25473.29
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
When dividing 10 by 31, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 25473.29
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 10:
31 goes into 100 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 25473.2903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 11:
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: 25473.29032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
31 goes into 80 2 times with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 25473.290322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 25473.290322 and a remainder of 1.8e-06.