We look at the division of 336793 by 18 
Let's see how many times 18 fits into 336793.

Advancing to step 1:
18 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 18

Let's proceed to step 2:
When dividing 33 by 18, we get 1 with a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 18 away from 33, we end up with 15.
Take the next digit (6) from the dividend and append it to 15, then repeat: 156 / 18

Advancing to step 3:
18 can be fit into 156 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 144 from 156, we get 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 18

Going ahead to step 4:
The number 18 fits into 127 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 187.0
If we subtract 126 from 127, we get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 18

Moving on to step 5:
When dividing 19 by 18, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1871.0
The remainder is 1 after subtracting 18 from 19.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 18

On to step 6:
When dividing 13 by 18, we get 0 with a remainder of 13.
Record the quotient 0 as the next digit in the result. 
Result so far: 18710.0
Subtracting 0 from 13 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
130 divided by 18 is 7 with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 18710.7
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 18710.72
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
18 can be fit into 40 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 18710.722
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 18710.722 with a remaining 0.0004.