We're dividing 21474067 by 789 
We want to divide 21474067 by 789.

On to step 1:
The number 789 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 789

Going ahead to step 2:
21 divided by 789 is 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 21 leaves us with 21.
Append the next digit (4) from the dividend to 21 and continue with: 214 / 789

Advancing to step 3:
If we divide 214 by 789, we get 0 and a remainder of 214.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 214, we get 214.
Fetch the next digit (7) from the dividend, attach it to 214 and continue: 2147 / 789

On to step 4:
When dividing 2147 by 789, we get 2 with a remainder of 569.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 1578 from 2147, we get 569.
Bring next digit (4) of the dividend behind the 569 and repeat the process: 5694 / 789

On to step 5:
789 can be fit into 5694 7 times, resulting in a remainder of 171.
The next digit of our result is 7. 
Result so far: 27.0
Subtracting 5523 from 5694 leaves us with 171.
Grab the next digit (0) from the dividend, add it to 171, then carry on: 1710 / 789

On to step 6:
1710 divided by 789 is 2 with a remainder of 132.
The number 2 becomes the next digit in our result. 
Result so far: 272.0
Subtracting 1578 from 1710 leaves us with 132.
Include the next digit (6) from the dividend after 132, then repeat: 1326 / 789

On to step 7:
If we divide 1326 by 789, we get 1 and a remainder of 537.
The number 1 becomes the next digit in our result. 
Result so far: 2721.0
If we take 789 away from 1326, we end up with 537.
Fetch the next digit (7) from the dividend, attach it to 537 and continue: 5377 / 789

Step 8:
789 can be fit into 5377 6 times, resulting in a remainder of 643.
Write down 6 as next digit of the result. 
Result so far: 27216.0
The remainder is 643 after subtracting 4734 from 5377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6430, and continue the process.

Moving on to step 9:
When dividing 6430 by 789, we get 8 with a remainder of 118.
The next digit of our result is 8. 
Result so far: 27216.8
Subtract 6312 from 6430 to get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Moving on to step 10:
When dividing 1180 by 789, we get 1 with a remainder of 391.
Put 1 as the next digit of the answer. 
Result so far: 27216.81
If we subtract 789 from 1180, we get 391.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3910, and continue the process.

Advancing to step 11:
When dividing 3910 by 789, we get 4 with a remainder of 754.
Use 4 as the next digit of our solution. 
Result so far: 27216.814
If we subtract 3156 from 3910, we get 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7540, and continue the process.

Advancing to step 12:
If we divide 7540 by 789, we get 9 and a remainder of 439.
Write down 9 as next digit of the result. 
Result so far: 27216.8149
The remainder is 439 after subtracting 7101 from 7540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4390, and continue the process.

Advancing to step 13:
4390 divided by 789 is 5 with a remainder of 445.
Put 5 as the next digit of the answer. 
Result so far: 27216.81495
The remainder is 445 after subtracting 3945 from 4390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Step 14:
789 can be fit into 4450 5 times, resulting in a remainder of 505.
Put 5 as the next digit of the answer. 
Result so far: 27216.814955
Subtract 3945 from 4450 to get 505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

After the division, we end up with 27216.814955 and a remainder of 5.05e-05.