We divide 386790 by 30
We're looking to find how many times 30 goes into 386790.

Advancing to step 1:
If we divide 3 by 30, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 30

Step 2:
The number 30 fits into 38 1 times, leaving a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 8 after subtracting 30 from 38.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 30

Step 3:
If we divide 86 by 30, we get 2 and a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 60 away from 86, we end up with 26.
Grab the next digit (7) from the dividend, add it to 26, then carry on: 267 / 30

On to step 4:
30 goes into 267 8 times with a remainder of 27.
The number 8 becomes the next digit in our result. 
Result so far: 128.0
Subtract 240 from 267 to get 27.
Append the next digit (9) from the dividend to 27 and continue with: 279 / 30

Let's proceed to step 5:
279 divided by 30 is 9 with a remainder of 9.
The next digit of our result is 9. 
Result so far: 1289.0
If we subtract 270 from 279, we get 9.
Grab the next digit (0) from the dividend, add it to 9, then carry on: 90 / 30

Advancing to step 6:
When dividing 90 by 30, we get 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 12893.0
If we subtract 90 from 90, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
When dividing 0 by 30, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 12893.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
When dividing 0 by 30, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 12893.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 12893.0, with a leftover of 0.0.