511228 divided by 18 
Our goal is to divide 511228 by 18.

On to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 18

Going ahead to step 2:
51 divided by 18 is 2 with a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 36 from 51 to get 15.
Grab the next digit (1) from the dividend, add it to 15, then carry on: 151 / 18

Step 3:
The number 18 fits into 151 8 times, leaving a remainder of 7.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtract 144 from 151 to get 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 18

On to step 4:
18 can be fit into 72 4 times, resulting in a remainder of 0.
The next digit of our result is 4. 
Result so far: 284.0
Deduct 72 from 72 and we're left with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 18

Step 5:
If we divide 2 by 18, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 2840.0
If we subtract 0 from 2, we get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 18

Advancing to step 6:
28 divided by 18 is 1 with a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 28401.0
Subtracting 18 from 28 leaves us 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.

On to step 7:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 28401.5
If we subtract 90 from 100, 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.

Going ahead to step 8:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 28401.55
Subtracting 90 from 100 leaves us 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.

After the division, we end up with 28401.55 and a remainder of 0.01.