We're dividing 502330 by 18 
Let's see how many times 18 fits into 502330.

Step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 18

Advancing to step 2:
When dividing 50 by 18, we get 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 36 from 50, we get 14.
Append the next digit (2) from the dividend to 14 and continue with: 142 / 18

Going ahead to step 3:
When dividing 142 by 18, we get 7 with a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
If we take 126 away from 142, we end up with 16.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 18

Step 4:
If we divide 163 by 18, we get 9 and a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 279.0
Subtract 162 from 163 to get 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 18

Going ahead to step 5:
The number 18 fits into 13 0 times, leaving a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 2790.0
The remainder is 13 after subtracting 0 from 13.
Grab the next digit (0) from the dividend, add it to 13, then carry on: 130 / 18

Advancing to step 6:
When dividing 130 by 18, we get 7 with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 27907.0
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.

On to step 7:
The number 18 fits into 40 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 27907.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.

On to step 8:
18 goes into 40 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 27907.22
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.

After the division, we end up with 27907.22 and a remainder of 0.004.