Let's divide 24859978 by 789
Let's see how many times 789 fits into 24859978.

Advancing to step 1:
789 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 789

Let's proceed to step 2:
If we divide 24 by 789, we get 0 and a remainder of 24.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 24, we get 24.
Bring next digit (8) of the dividend behind the 24 and repeat the process: 248 / 789

Going ahead to step 3:
789 can be fit into 248 0 times, resulting in a remainder of 248.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 248 after subtracting 0 from 248.
Take the next digit (5) from the dividend and append it to 248, then repeat: 2485 / 789

Advancing to step 4:
789 goes into 2485 3 times with a remainder of 118.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 2367 away from 2485, we end up with 118.
Bring next digit (9) of the dividend behind the 118 and repeat the process: 1189 / 789

On to step 5:
If we divide 1189 by 789, we get 1 and a remainder of 400.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtracting 789 from 1189 leaves us with 400.
Include the next digit (9) from the dividend after 400, then repeat: 4009 / 789

Advancing to step 6:
789 can be fit into 4009 5 times, resulting in a remainder of 64.
Put 5 as the next digit of the answer. 
Result so far: 315.0
If we take 3945 away from 4009, we end up with 64.
Fetch the next digit (7) from the dividend, attach it to 64 and continue: 647 / 789

Advancing to step 7:
789 goes into 647 0 times with a remainder of 647.
The next digit of our result is 0. 
Result so far: 3150.0
If we subtract 0 from 647, we get 647.
Take the next digit (8) from the dividend and append it to 647, then repeat: 6478 / 789

Moving on to step 8:
6478 divided by 789 is 8 with a remainder of 166.
Record the quotient 8 as the next digit in the result. 
Result so far: 31508.0
Deduct 6312 from 6478 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 9:
789 goes into 1660 2 times with a remainder of 82.
The next digit of our result is 2. 
Result so far: 31508.2
The remainder is 82 after subtracting 1578 from 1660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 10:
820 divided by 789 is 1 with a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 31508.21
If we subtract 789 from 820, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 11:
789 can be fit into 310 0 times, resulting in a remainder of 310.
The number 0 becomes the next digit in our result. 
Result so far: 31508.21
Subtracting 0 from 310 leaves us with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Let's proceed to step 12:
When dividing 3100 by 789, we get 3 with a remainder of 733.
Record the quotient 3 as the next digit in the result. 
Result so far: 31508.2103
Subtract 2367 from 3100 to get 733.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7330, and continue the process.

Advancing to step 13:
789 goes into 7330 9 times with a remainder of 229.
Put 9 as the next digit of the answer. 
Result so far: 31508.21039
Subtract 7101 from 7330 to get 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

On to step 14:
789 can be fit into 2290 2 times, resulting in a remainder of 712.
The number 2 becomes the next digit in our result. 
Result so far: 31508.210392
Subtracting 1578 from 2290 leaves us with 712.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7120, and continue the process.

Going ahead to step 15:
If we divide 7120 by 789, we get 9 and a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 31508.2103929
Subtract 7101 from 7120 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 16:
789 goes into 190 0 times with a remainder of 190.
Write down 0 as next digit of the result. 
Result so far: 31508.2103929
Subtract 0 from 190 to get 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Our division results in 31508.2103929 with a remaining 1.9e-07.