We divide 318477 by 18
Our goal is to divide 318477 by 18.

Moving on to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 18

Going ahead to step 2:
18 goes into 31 1 times with a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 13 after subtracting 18 from 31.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 18

Going ahead to step 3:
18 goes into 138 7 times with a remainder of 12.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 12 after subtracting 126 from 138.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 18

Going ahead to step 4:
When dividing 124 by 18, we get 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 176.0
The remainder is 16 after subtracting 108 from 124.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 18

Let's proceed to step 5:
When dividing 167 by 18, we get 9 with a remainder of 5.
Write down 9 as next digit of the result. 
Result so far: 1769.0
If we subtract 162 from 167, we get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 18

Going ahead to step 6:
The number 18 fits into 57 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 17693.0
The remainder is 3 after subtracting 54 from 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
18 goes into 30 1 times with a remainder of 12.
The next digit of our result is 1. 
Result so far: 17693.1
If we subtract 18 from 30, 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.

On to step 8:
When dividing 120 by 18, we get 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 17693.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.

Step 9:
18 can be fit into 120 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 17693.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.

The final result is 17693.166 with a remainder of 0.0012.