We look at the division of 6404 by 18 
We want to figure out the number of times 6404 can be divided by 18.

Step 1:
6 divided by 18 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 18

On to step 2:
When dividing 64 by 18, we get 3 with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 10 after subtracting 54 from 64.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 18

Step 3:
If we divide 100 by 18, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
The remainder is 10 after subtracting 90 from 100.
Include the next digit (4) from the dividend after 10, then repeat: 104 / 18

Going ahead to step 4:
104 divided by 18 is 5 with a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 355.0
If we subtract 90 from 104, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 5:
When dividing 140 by 18, we get 7 with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 355.7
Subtract 126 from 140 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 6:
18 can be fit into 140 7 times, resulting in a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 355.77
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Our division results in 355.77 with a remaining 0.014.