We look at the division of 31461408 by 870 
Our goal is to divide 31461408 by 870.

Let's proceed to step 1:
870 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 870

Let's proceed to step 2:
870 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (4) from the dividend, add it to 31, then carry on: 314 / 870

Let's proceed to step 3:
870 can be fit into 314 0 times, resulting in a remainder of 314.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 314, we get 314.
Bring next digit (6) of the dividend behind the 314 and repeat the process: 3146 / 870

On to step 4:
The number 870 fits into 3146 3 times, leaving a remainder of 536.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 536 after subtracting 2610 from 3146.
Append the next digit (1) from the dividend to 536 and continue with: 5361 / 870

Step 5:
870 can be fit into 5361 6 times, resulting in a remainder of 141.
Write down 6 as next digit of the result. 
Result so far: 36.0
If we subtract 5220 from 5361, we get 141.
Include the next digit (4) from the dividend after 141, then repeat: 1414 / 870

Advancing to step 6:
When dividing 1414 by 870, we get 1 with a remainder of 544.
Put 1 as the next digit of the answer. 
Result so far: 361.0
If we subtract 870 from 1414, we get 544.
Grab the next digit (0) from the dividend, add it to 544, then carry on: 5440 / 870

Advancing to step 7:
The number 870 fits into 5440 6 times, leaving a remainder of 220.
Put 6 as the next digit of the answer. 
Result so far: 3616.0
Subtract 5220 from 5440 to get 220.
Grab the next digit (8) from the dividend, add it to 220, then carry on: 2208 / 870

Let's proceed to step 8:
870 can be fit into 2208 2 times, resulting in a remainder of 468.
The next digit of our result is 2. 
Result so far: 36162.0
If we take 1740 away from 2208, we end up with 468.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

On to step 9:
If we divide 4680 by 870, we get 5 and a remainder of 330.
Use 5 as the next digit of our solution. 
Result so far: 36162.5
Subtracting 4350 from 4680 leaves us with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Let's proceed to step 10:
If we divide 3300 by 870, we get 3 and a remainder of 690.
Use 3 as the next digit of our solution. 
Result so far: 36162.53
The remainder is 690 after subtracting 2610 from 3300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

Advancing to step 11:
When dividing 6900 by 870, we get 7 with a remainder of 810.
Record the quotient 7 as the next digit in the result. 
Result so far: 36162.537
Deduct 6090 from 6900 and we're left with 810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8100, and continue the process.

Advancing to step 12:
870 goes into 8100 9 times with a remainder of 270.
Put 9 as the next digit of the answer. 
Result so far: 36162.5379
If we take 7830 away from 8100, we end up with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Step 13:
2700 divided by 870 is 3 with a remainder of 90.
Write down 3 as next digit of the result. 
Result so far: 36162.53793
If we subtract 2610 from 2700, we get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Let's proceed to step 14:
The number 870 fits into 900 1 times, leaving a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 36162.537931
If we subtract 870 from 900, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 15:
When dividing 300 by 870, we get 0 with a remainder of 300.
The number 0 becomes the next digit in our result. 
Result so far: 36162.537931
Deduct 0 from 300 and we're left with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 16:
The number 870 fits into 3000 3 times, leaving a remainder of 390.
Record the quotient 3 as the next digit in the result. 
Result so far: 36162.53793103
Deduct 2610 from 3000 and we're left with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

The final result is 36162.53793103 with a remainder of 3.9e-07.