Let's divide 865228 by 18
We want to figure out the number of times 865228 can be divided by 18.

Let's proceed to step 1:
When dividing 8 by 18, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 18

Advancing to step 2:
When dividing 86 by 18, we get 4 with a remainder of 14.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 14 after subtracting 72 from 86.
Grab the next digit (5) from the dividend, add it to 14, then carry on: 145 / 18

Moving on to step 3:
When dividing 145 by 18, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
Subtracting 144 from 145 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 18

Moving on to step 4:
18 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 480.0
If we subtract 0 from 12, we get 12.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 18

Going ahead to step 5:
When dividing 122 by 18, we get 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 4806.0
If we take 108 away from 122, we end up with 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 18

Going ahead to step 6:
If we divide 148 by 18, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 48068.0
If we take 144 away from 148, we end up 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.

Let's proceed to step 7:
40 divided by 18 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 48068.2
If we take 36 away from 40, we end up 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:
If we divide 40 by 18, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 48068.22
Subtracting 36 from 40 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.

Our division results in 48068.22 with a remaining 0.004.