Let's divide 400538 by 30
Let's see how many times 30 fits into 400538.

Going ahead to step 1:
If we divide 4 by 30, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 30

Step 2:
40 divided by 30 is 1 with a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 30 from 40, we get 10.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 30

On to step 3:
30 goes into 100 3 times with a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 90 from 100 to get 10.
Bring next digit (5) of the dividend behind the 10 and repeat the process: 105 / 30

Advancing to step 4:
105 divided by 30 is 3 with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 133.0
If we subtract 90 from 105, we get 15.
Take the next digit (3) from the dividend and append it to 15, then repeat: 153 / 30

Moving on to step 5:
The number 30 fits into 153 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 1335.0
Deduct 150 from 153 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 30

Moving on to step 6:
30 can be fit into 38 1 times, resulting in a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 13351.0
If we subtract 30 from 38, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
If we divide 80 by 30, we get 2 and a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 13351.2
Subtract 60 from 80 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
200 divided by 30 is 6 with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 13351.26
Subtract 180 from 200 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
The number 30 fits into 200 6 times, leaving a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 13351.266
Deduct 180 from 200 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 13351.266, with a leftover of 0.002.