We're dividing 789460 by 31 
Our goal is to divide 789460 by 31.

Advancing to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 31

Step 2:
78 divided by 31 is 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 16 after subtracting 62 from 78.
Take the next digit (9) from the dividend and append it to 16, then repeat: 169 / 31

Step 3:
169 divided by 31 is 5 with a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
If we subtract 155 from 169, we get 14.
Bring next digit (4) of the dividend behind the 14 and repeat the process: 144 / 31

On to step 4:
If we divide 144 by 31, we get 4 and a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 254.0
Subtracting 124 from 144 leaves us with 20.
Include the next digit (6) from the dividend after 20, then repeat: 206 / 31

On to step 5:
31 can be fit into 206 6 times, resulting in a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 2546.0
The remainder is 20 after subtracting 186 from 206.
Grab the next digit (0) from the dividend, add it to 20, then carry on: 200 / 31

Let's proceed to step 6:
If we divide 200 by 31, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 25466.0
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
140 divided by 31 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 25466.4
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
31 goes into 160 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 25466.45
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 25466.451
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 10:
31 goes into 190 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 25466.4516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
31 goes into 40 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 25466.45161
Deduct 31 from 40 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.

Step 12:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 25466.451612
Subtracting 62 from 90 leaves us with 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 13:
280 divided by 31 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 25466.4516129
If we take 279 away from 280, we end up 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 14:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 25466.4516129
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 25466.4516129 with a remaining 1e-08.