Let's divide 157789 by 2
Let's see how many times 2 fits into 157789.

Step 1:
When dividing 1 by 2, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 2

Moving on to step 2:
2 can be fit into 15 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 14 away from 15, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 2

Step 3:
If we divide 17 by 2, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
If we take 16 away from 17, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 2

Step 4:
2 can be fit into 17 8 times, resulting in a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 788.0
Subtracting 16 from 17 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Step 5:
The number 2 fits into 18 9 times, leaving a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 7889.0
Deduct 18 from 18 and we're left with 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 2

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

Step 7:
2 goes into 10 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 78894.5
Deduct 10 from 10 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 78894.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
When dividing 0 by 2, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 78894.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 78894.5, and the remainder is 0.0.