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

Advancing to step 1:
789 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 789

Let's proceed to step 2:
24 divided by 789 is 0 with a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 24 leaves us with 24.
Append the next digit (8) from the dividend to 24 and continue with: 248 / 789

Moving on to step 3:
When dividing 248 by 789, we get 0 with a remainder of 248.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 248, we end up with 248.
Append the next digit (5) from the dividend to 248 and continue with: 2485 / 789

Moving on to step 4:
789 goes into 2485 3 times with a remainder of 118.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 2367 from 2485, we get 118.
Grab the next digit (4) from the dividend, add it to 118, then carry on: 1184 / 789

Advancing to step 5:
The number 789 fits into 1184 1 times, leaving a remainder of 395.
The next digit of our result is 1. 
Result so far: 31.0
Subtracting 789 from 1184 leaves us with 395.
Grab the next digit (8) from the dividend, add it to 395, then carry on: 3958 / 789

On to step 6:
789 goes into 3958 5 times with a remainder of 13.
Record the quotient 5 as the next digit in the result. 
Result so far: 315.0
The remainder is 13 after subtracting 3945 from 3958.
Bring next digit (1) of the dividend behind the 13 and repeat the process: 131 / 789

Let's proceed to step 7:
789 goes into 131 0 times with a remainder of 131.
The number 0 becomes the next digit in our result. 
Result so far: 3150.0
If we subtract 0 from 131, we get 131.
Include the next digit (8) from the dividend after 131, then repeat: 1318 / 789

Advancing to step 8:
789 can be fit into 1318 1 times, resulting in a remainder of 529.
Record the quotient 1 as the next digit in the result. 
Result so far: 31501.0
Subtracting 789 from 1318 leaves us with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Step 9:
The number 789 fits into 5290 6 times, leaving a remainder of 556.
Use 6 as the next digit of our solution. 
Result so far: 31501.6
If we subtract 4734 from 5290, we get 556.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5560, and continue the process.

Let's proceed to step 10:
If we divide 5560 by 789, we get 7 and a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 31501.67
Subtracting 5523 from 5560 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 11:
The number 789 fits into 370 0 times, leaving a remainder of 370.
Put 0 as the next digit of the answer. 
Result so far: 31501.67
If we take 0 away from 370, we end up with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Moving on to step 12:
If we divide 3700 by 789, we get 4 and a remainder of 544.
The number 4 becomes the next digit in our result. 
Result so far: 31501.6704
Subtracting 3156 from 3700 leaves us with 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Going ahead to step 13:
If we divide 5440 by 789, we get 6 and a remainder of 706.
Record the quotient 6 as the next digit in the result. 
Result so far: 31501.67046
Subtracting 4734 from 5440 leaves us with 706.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

Step 14:
When dividing 7060 by 789, we get 8 with a remainder of 748.
Put 8 as the next digit of the answer. 
Result so far: 31501.670468
Deduct 6312 from 7060 and we're left with 748.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7480, and continue the process.

Going ahead to step 15:
When dividing 7480 by 789, we get 9 with a remainder of 379.
Write down 9 as next digit of the result. 
Result so far: 31501.6704689
Deduct 7101 from 7480 and we're left with 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

Let's proceed to step 16:
789 can be fit into 3790 4 times, resulting in a remainder of 634.
Put 4 as the next digit of the answer. 
Result so far: 31501.67046894
The remainder is 634 after subtracting 3156 from 3790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6340, and continue the process.

The quotient of the division is 31501.67046894, and the remainder is 6.34e-07.