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

Let's proceed to step 1:
When dividing 1 by 789, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 789

Moving on to step 2:
18 divided by 789 is 0 with a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Bring next digit (2) of the dividend behind the 18 and repeat the process: 182 / 789

Moving on to step 3:
789 goes into 182 0 times with a remainder of 182.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 182 to get 182.
Grab the next digit (2) from the dividend, add it to 182, then carry on: 1822 / 789

On to step 4:
If we divide 1822 by 789, we get 2 and a remainder of 244.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 1578 from 1822 leaves us with 244.
Bring next digit (5) of the dividend behind the 244 and repeat the process: 2445 / 789

Going ahead to step 5:
789 goes into 2445 3 times with a remainder of 78.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
Subtracting 2367 from 2445 leaves us with 78.
Bring next digit (8) of the dividend behind the 78 and repeat the process: 788 / 789

Step 6:
788 divided by 789 is 0 with a remainder of 788.
Write down 0 as next digit of the result. 
Result so far: 230.0
Deduct 0 from 788 and we're left with 788.
Grab the next digit (9) from the dividend, add it to 788, then carry on: 7889 / 789

On to step 7:
789 can be fit into 7889 9 times, resulting in a remainder of 788.
Record the quotient 9 as the next digit in the result. 
Result so far: 2309.0
If we take 7101 away from 7889, we end up with 788.
Bring next digit (8) of the dividend behind the 788 and repeat the process: 7888 / 789

Let's proceed to step 8:
When dividing 7888 by 789, we get 9 with a remainder of 787.
The number 9 becomes the next digit in our result. 
Result so far: 23099.0
Subtract 7101 from 7888 to get 787.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7870, and continue the process.

Moving on to step 9:
If we divide 7870 by 789, we get 9 and a remainder of 769.
Put 9 as the next digit of the answer. 
Result so far: 23099.9
The remainder is 769 after subtracting 7101 from 7870.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7690, and continue the process.

Let's proceed to step 10:
789 goes into 7690 9 times with a remainder of 589.
Put 9 as the next digit of the answer. 
Result so far: 23099.99
Subtract 7101 from 7690 to get 589.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5890, and continue the process.

The quotient of the division is 23099.99, and the remainder is 0.589.