We're dividing 335197 by 18 
We're looking to find how many times 18 goes into 335197.

Let's proceed to step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 18

Advancing to step 2:
33 divided by 18 is 1 with a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 18 from 33 leaves us with 15.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 18

Advancing to step 3:
18 can be fit into 155 8 times, resulting in a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we subtract 144 from 155, we get 11.
Grab the next digit (1) from the dividend, add it to 11, then carry on: 111 / 18

On to step 4:
When dividing 111 by 18, we get 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 186.0
The remainder is 3 after subtracting 108 from 111.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 18

On to step 5:
18 goes into 39 2 times with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 1862.0
Subtract 36 from 39 to get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 18

Going ahead to step 6:
The number 18 fits into 37 2 times, leaving a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 18622.0
The remainder is 1 after subtracting 36 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
The number 18 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 18622.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 18622.05
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
100 divided by 18 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 18622.055
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 18622.055 with a remaining 0.001.