397332 divided by 18 
We're looking to find how many times 18 goes into 397332.

Moving on to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 18

Step 2:
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: 2.0
If we subtract 36 from 39, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 18

Advancing to step 3:
If we divide 37 by 18, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtracting 36 from 37 leaves us with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 18

Going ahead to step 4:
The number 18 fits into 13 0 times, leaving a remainder of 13.
The next digit of our result is 0. 
Result so far: 220.0
If we subtract 0 from 13, we get 13.
Include the next digit (3) from the dividend after 13, then repeat: 133 / 18

On to step 5:
The number 18 fits into 133 7 times, leaving a remainder of 7.
The next digit of our result is 7. 
Result so far: 2207.0
Subtracting 126 from 133 leaves us with 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 18

Going ahead to step 6:
18 goes into 72 4 times with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 22074.0
If we subtract 72 from 72, we get 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 7:
If we divide 0 by 18, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 22074.0
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.

Step 8:
0 divided by 18 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 22074.0
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.

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