Let's divide 159789 by 18
Let's see how many times 18 fits into 159789.

On to step 1:
The number 18 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 18

Let's proceed to step 2:
18 can be fit into 15 0 times, resulting in a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 15 after subtracting 0 from 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 18

Let's proceed to step 3:
159 divided by 18 is 8 with a remainder of 15.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 144 from 159, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 18

Step 4:
When dividing 157 by 18, we get 8 with a remainder of 13.
Record the quotient 8 as the next digit in the result. 
Result so far: 88.0
Deduct 144 from 157 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 18

Going ahead to step 5:
18 can be fit into 138 7 times, resulting in a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 887.0
Deduct 126 from 138 and we're left with 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 18

Let's proceed to step 6:
129 divided by 18 is 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 8877.0
Subtract 126 from 129 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
18 can be fit into 30 1 times, resulting in a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 8877.1
Subtracting 18 from 30 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
If we divide 120 by 18, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 8877.16
If we subtract 108 from 120, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 8877.166
Subtracting 108 from 120 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 8877.166 and a remainder of 0.0012.